force use proxy server

eculp at bafirst.com eculp at bafirst.com
Wed Jul 20 12:21:58 GMT 2005


Quoting Bart Silverstrim <bsilver at 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



More information about the freebsd-ipfw mailing list