Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 16:53:28 +0200
From:      =?ISO-8859-1?Q?Ott_K=F6stner?= <OttK@zzz.ee>
To:        freebsd-questions@freebsd.org
Subject:   Re: Transparent Proxy with IPFW + Squid 2.7
Message-ID:  <492ABFE8.8090407@zzz.ee>
In-Reply-To: <492AB7F3.8070107@zzz.ee>
References:  <73a179920811231130k53387b55p2838f80b30fdc6cd@mail.gmail.com> <492AB7F3.8070107@zzz.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020808060709050104020207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

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/



--------------020808060709050104020207--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492ABFE8.8090407>