Ott Köstner wrote:
Cagri Ersen wrote:

I want to configure a transparent proxy with IPFW and Squid.
I enabled IPFW on a FreeBSD 7.0 and also install squid 2.7

I am running such a setup, but with pf. Works fine. Maybe it helps

Oh, before compiling Squid, in Squid port directory:

# make config

? ?[X] SQUID_IPFW Enable transparent proxying with IPFW ? ?
? ?[X] SQUID_PF Enable transparent proxying with PF




pf rule I am using:
------------------------------------------------------------------------
demo="dc0"

rdr on $demo proto tcp from any to any port 80 -> 127.0.0.1 port 3128


Squid config file
------------------------------------------------------------------------
# Squid normally listens to port 3128

http_port 127.0.0.1:3128 transparent


Greetings,
O.K.

--
Testi oma Interneti kiirust / Test Your Internet speed:
http://speedtest.zzz.ee/


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to