Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 07:21:55 -0500
From:      eculp@bafirst.com
To:        freebsd-ipfw@freebsd.org
Subject:   Re: force use proxy server
Message-ID:  <20050720072155.cv7e9fqckkgko4c4@mail.bafirst.com>
In-Reply-To: <784a895b353edd59740dce21594ef2c9@chrononomicon.com>
References:  <1926993869.20050720095259@spaingsm.com> <784a895b353edd59740dce21594ef2c9@chrononomicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Bart Silverstrim <bsilver@chrononomicon.com>:

>
> On Jul 20, 2005, at 2:52 AM, vladone wrote:
>
>> Hi!
>> How i can redirect web traffic from my lan, throught my proxy server?
>
> We set up Squid/SquidGuard, set the machine to forward traffic and 
> created a firewall rule to forward port 80 traffic to the port Squid 
> was listening to, then told the DHCP server to hand out the IP of the 
> Squid server as the gateway address for client machines to use.

This works fine in pf and is very similar to what you do with ipfw.

http://www.benzedrine.cx/transquid.html

A search on google should find ipfw specific code.  I haven't used ipfw 
for a while but as I remember it was almost the same.

good luck,

ed




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