Transparent Proxy with IPFW + Squid 2.7
Ott Köstner
OttK at zzz.ee
Mon Nov 24 06:53:33 PST 2008
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/
More information about the freebsd-questions
mailing list