[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: transparent proxy
On Sun, 15 Nov 1998, Skliarouk Peter wrote:
> > Ira,
> >
> > you said that redirecting port 80 was enough because
> > netscapes askes for the full URL (i.e. GET http://a.b.c/blah/balh )
> > and not the relative one (i.e. GET /blah/blah)
> >
> > this did not work for me.
> >
> > I used a transparent proxy (ipfwadm -Ia accept -P tcp -D 0/0 80 -r 8080)
> > and when trying to get http://www.hotbot.com/, i got a reply from the
> > proxy:
> > bad URL '/'
>From Squid FAQ:
3.Finally, you have to configure Squid to recognize the hijacked
connections and discern the destination addresses. For linux this seems to
work
automatically. For FreeBSD you probably have to configure squid
with the --enable-ipf-transparent option. Here are the important settings
in
squid.conf:
http_port 8080
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on