You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by António Rafael Paiva <a2...@alunos.det.ua.pt> on 2003/05/23 21:54:05 UTC

[users@httpd] Proxy bewind proxy

Hi everyone!

In my current test cenario i'm setting a proxy bewind the 
external proxy. To set the proxy as forward proxy i set

Listen 3128
AllowCONNECT 443
NoProxy 192.168.0.1
ProxyDomain .my.domain.com
ProxyMaxForwards 10
ProxyRequests On

I will have HTTPS connections. The proxy server i'm 
setting is in the .my.domain.com network.
To make it work with the external i set

ProxyRemote * http://proxy.domain.com:3128

as i read at the Apache the documentation but i don't have 
internet access, and can't access internal web servers. 
The external proxy doesn't have authentication.

What am i doing wrong? Please help me.
Thanks in advance.

----------------------------------------------------
António Rafael C. Paiva
Electronics and Telecommunications Dep.
Aveiro University

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Proxy bewind proxy

Posted by António Rafael Paiva <a2...@alunos.det.ua.pt>.
My project time is running out, so i would really 
apreciate any help with this! Thanks. Rafael

> Hi everyone!
> 
> In my current test cenario i'm setting a proxy bewind 
> the external proxy. To set the proxy as forward proxy i 
> set
> 
> Listen 3128
> AllowCONNECT 443
> NoProxy 192.168.0.1
> ProxyDomain .my.domain.com
> ProxyMaxForwards 10
> ProxyRequests On
> 
> I will have HTTPS connections. The proxy server i'm 
> setting is in the .my.domain.com network.
> To make it work with the external i set
> 
> ProxyRemote * http://proxy.domain.com:3128
> 
> as i read at the Apache the documentation but i don't 
> have internet access, and can't access internal web 
> servers. The external proxy doesn't have authentication.
> 
> What am i doing wrong? Please help me.
> Thanks in advance.
> 
----------------------------------------------------
António Rafael C. Paiva
Electronics and Telecommunications Dep.
Aveiro University

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Proxy bewind proxy

Posted by Jeff Cohen <su...@gej-it.com>.
Try that and let me know,

Listen 3158
<VirtualHost ip:3158>
# First make sure only your users can use this open proxy
<Location proxy:*>
	Order Deny,Allow
	Deny from all
	Allow from 192.168  # i.e. your network
AllowCONNECT 443
# Now enable proxying
	ProxyRequests on
</VirtualHost>

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!




> -----Original Message-----
> From: Ant?nio Rafael Paiva [mailto:a20130@alunos.det.ua.pt]
> Sent: Tuesday, May 27, 2003 7:09 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Proxy bewind proxy
> 
> On Mon, 26 May 2003 15:01:12 -0400
>   "Jeff Cohen" <su...@gej-it.com> wrote:
> > What exactly are you trying to set up?
> 
> The proxy i'm trying to set is in a LAN connected to the
> internet trough a proxy/firewall to wich all traffic to
> the internet must pass.
> 
> > Is it a proxy to a running web server that is running
> > inside the network?
> 
> The "clients" to the proxy i'm setting need to access
> internet so, this proxy needs to ask to the external proxy
> for internet access.
> 
>                [ External   ]  LAN
> {internet} ---[ Proxy /    ]-------[My Proxy]----
> {clients}
>                [ / Firewall ]
> 
> 
> > Is it a forward proxy to cache pages?
> 
> Yes, i'm setting it as a forward proxy.
> 
> > Do you use Vhosts?
> 
> I will have to use VH since this server will act
> simultaneously as a Proxy and Web server.
> 
> > Provide more details of what you want/need.
> >
> > All the best,
> > Jeff Cohen
> > Support@GEJ-IT.com
> > Tel. (416) 917-2324
> > www.GEJ-IT.com
> > GEJ-IT Networks!
> >
> > > -----Original Message-----
> > > From: Antףnio Rafael Paiva
> > >[mailto:a20130@alunos.det.ua.pt]
> > > Sent: Friday, May 23, 2003 3:54 PM
> > > To: Apache mailing list
> > > Subject: [users@httpd] Proxy bewind proxy
> > >
> > > Hi everyone!
> > >
> > > In my current test cenario i'm setting a proxy bewind
> > >the
> > > external proxy. To set the proxy as forward proxy i set
> > >
> > > Listen 3128
> > > AllowCONNECT 443
> > > NoProxy 192.168.0.1
> > > ProxyDomain .my.domain.com
> > > ProxyMaxForwards 10
> > > ProxyRequests On
> > >
> > > I will have HTTPS connections. The proxy server i'm
> > > setting is in the .my.domain.com network.
> > > To make it work with the external i set
> > >
> > > ProxyRemote * http://proxy.domain.com:3128
> > >
> > > as i read at the Apache the documentation but i don't
> > >have
> > > internet access, and can't access internal web servers.
> > > The external proxy doesn't have authentication.
> > >
> > > What am i doing wrong? Please help me.
> > > Thanks in advance.
> > >
> > > ----------------------------------------------------
> > > António Rafael C. Paiva
> > > Electronics and Telecommunications Dep.
> > > Aveiro University
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache
> > >HTTP Server Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for
> > >more info.
> > > To unsubscribe, e-mail:
> > >users-unsubscribe@httpd.apache.org
> > >    "   from the digest:
> > >users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail:
> > >users-help@httpd.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache
> > HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for
> > more info.
> > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> >     "   from the digest:
> > users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> > users-help@httpd.apache.org
> >
> 
> ----------------------------------------------------
> António Rafael C. Paiva
> Electronics and Telecommunications Dep.
> Aveiro University
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Proxy bewind proxy

Posted by António Rafael Paiva <a2...@alunos.det.ua.pt>.
On Mon, 26 May 2003 15:01:12 -0400
  "Jeff Cohen" <su...@gej-it.com> wrote:
> What exactly are you trying to set up?

The proxy i'm trying to set is in a LAN connected to the 
internet trough a proxy/firewall to wich all traffic to 
the internet must pass.

> Is it a proxy to a running web server that is running 
> inside the network?

The "clients" to the proxy i'm setting need to access 
internet so, this proxy needs to ask to the external proxy 
for internet access.

               [ External   ]  LAN
{internet} ---[ Proxy /    ]-------[My Proxy]---- 
{clients}
               [ / Firewall ]


> Is it a forward proxy to cache pages?

Yes, i'm setting it as a forward proxy.

> Do you use Vhosts?

I will have to use VH since this server will act 
simultaneously as a Proxy and Web server.

> Provide more details of what you want/need.
> 
> All the best,
> Jeff Cohen
> Support@GEJ-IT.com
> Tel. (416) 917-2324
> www.GEJ-IT.com
> GEJ-IT Networks!
> 
> > -----Original Message-----
> > From: Antףnio Rafael Paiva 
> >[mailto:a20130@alunos.det.ua.pt]
> > Sent: Friday, May 23, 2003 3:54 PM
> > To: Apache mailing list
> > Subject: [users@httpd] Proxy bewind proxy
> > 
> > Hi everyone!
> > 
> > In my current test cenario i'm setting a proxy bewind 
> >the
> > external proxy. To set the proxy as forward proxy i set
> > 
> > Listen 3128
> > AllowCONNECT 443
> > NoProxy 192.168.0.1
> > ProxyDomain .my.domain.com
> > ProxyMaxForwards 10
> > ProxyRequests On
> > 
> > I will have HTTPS connections. The proxy server i'm
> > setting is in the .my.domain.com network.
> > To make it work with the external i set
> > 
> > ProxyRemote * http://proxy.domain.com:3128
> > 
> > as i read at the Apache the documentation but i don't 
> >have
> > internet access, and can't access internal web servers.
> > The external proxy doesn't have authentication.
> > 
> > What am i doing wrong? Please help me.
> > Thanks in advance.
> > 
> > ----------------------------------------------------
> > António Rafael C. Paiva
> > Electronics and Telecommunications Dep.
> > Aveiro University
> > 
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache 
> >HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for 
> >more info.
> > To unsubscribe, e-mail: 
> >users-unsubscribe@httpd.apache.org
> >    "   from the digest: 
> >users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: 
> >users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache 
> HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for 
> more info.
> To unsubscribe, e-mail: 
> users-unsubscribe@httpd.apache.org
>     "   from the digest: 
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: 
> users-help@httpd.apache.org
> 

----------------------------------------------------
António Rafael C. Paiva
Electronics and Telecommunications Dep.
Aveiro University

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Proxy bewind proxy

Posted by Jeff Cohen <su...@gej-it.com>.
What exactly are you trying to set up?
Is it a proxy to a running web server that is running inside the network?
Is it a forward proxy to cache pages?
Do you use Vhosts?
Provide more details of what you want/need.

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!

> -----Original Message-----
> From: Antףnio Rafael Paiva [mailto:a20130@alunos.det.ua.pt]
> Sent: Friday, May 23, 2003 3:54 PM
> To: Apache mailing list
> Subject: [users@httpd] Proxy bewind proxy
> 
> Hi everyone!
> 
> In my current test cenario i'm setting a proxy bewind the
> external proxy. To set the proxy as forward proxy i set
> 
> Listen 3128
> AllowCONNECT 443
> NoProxy 192.168.0.1
> ProxyDomain .my.domain.com
> ProxyMaxForwards 10
> ProxyRequests On
> 
> I will have HTTPS connections. The proxy server i'm
> setting is in the .my.domain.com network.
> To make it work with the external i set
> 
> ProxyRemote * http://proxy.domain.com:3128
> 
> as i read at the Apache the documentation but i don't have
> internet access, and can't access internal web servers.
> The external proxy doesn't have authentication.
> 
> What am i doing wrong? Please help me.
> Thanks in advance.
> 
> ----------------------------------------------------
> António Rafael C. Paiva
> Electronics and Telecommunications Dep.
> Aveiro University
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org