Re: Transparent Proxy

From: Oskar Pearson <oskar@dont-contact.us>
Date: Thu, 9 Oct 1997 16:03:58 +0200

Hi

> I'm trying to set up a transparent http proxy by running squid on a separate server, routing everythin through that server, and using ipfwadm with transparent proxying to redirect everything that comes in on port 80 to port 8080 (where i have squid running). When i have a client on this setup... and i try and call up and external site... i get an error from squid saying invalid url syntax... if i use an ip address to call up an external site sometimes it works. My guess is that if netscape doesn't think its going throught a server then it separates the server from the location in the url then tries to contact the server itself... which means that squid is only getting the location bit... but not the server bit... Am i right?? and does anyone know a way around this, or a better way i can proxy http transparently???

I am running this on a linux box (2.0.31pre10) and with squid 1.NOVM.16.

The config file is default, the only difference is that it's accepting on
port 8080, and it's got the flag 'httpd_accel virtual 80' set... it
was very easy this way....

transproxy:~ # ipfwadm -I -l
IP firewall input rules, default policy: accept
type prot source destination ports
acc/r tcp 196.37.0.0/24 anywhere any -> www => 8080
transproxy:~ # ipfwadm -O -l
IP firewall output rules, default policy: accept

I hope this helps.

Oskar
Received on Thu Oct 09 1997 - 07:16:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:16 MST