Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2006 17:10:49 +0800
From:      "Oliver A. Rojo" <oliverrojo@anticogroup.com>
To:        skylar@cs.earlham.edu
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: transparent proxy howto
Message-ID:  <44A8DF19.7070003@anticogroup.com>
In-Reply-To: <44A343D8.7040307@cs.earlham.edu>
References:  <44A24315.8000502@anticogroup.com> <44A343D8.7040307@cs.earlham.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Skylar Thompson wrote:
> Oliver A. Rojo wrote:
>   
>> hi!
>>
>> Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I
>> setup transparent proxying with squid using ipnat?
>>     
>
> You're going to want something like this in your ipnat configuration:
>
> rdr int0 0/0 port 80 -> 192.168.0.1 port 3128
>
> Where int0 is your internal interface name, and 192.168.0.1 is your
> internal interface IP address. You'll also want this in your squid.conf:
>
> http_port 8080
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy  on
>
> Full documentation here:
>
> http://www.squid-cache.org/Doc/FAQ/FAQ-17.html
> httpd_accel_uses_host_header on
>
>
>
>   
is there anything to be done with the kernel? I've done this one but it 
didn't worked...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A8DF19.7070003>