IPFW won't work... Check out ip-filter.
I can send the latest copy that works with FreeBSD 2.2.x if you want.
JS
Phil Allsopp wrote:
>
> Does anyone have any idea what I need to add or what I have done wrong in
> seting up squid as a transparent proxy ? Using the following setup I can
> access web pages but they are not cached.
>
> I have 2 ethernet cards in the machine :
> 1 is ed2, the other is vx0
> ed2 is set to IP Address 194.159.112.169
> vx0 is set to IP Address 192.168.1.1
>
> I have a PC set up as a client on IP 192.168.1.2 with a gateway set to
> 192.168.1.1
>
> I am using a Pentium 200 box
> I am using Free BSD 2.2.5
> The system is set up as a gateway.
> I have recompiled the kernel with the following options:
> options IPFIREWALL
> options IPDIVERT
> I have added the following line to the /etc/services file :
> natd 6668/divert
> I have run the following:
> ipfw -f flush
> ipfw add divert natd all from any to any via ed2
> ipfw add pass all from any to any
> natd -use_sockets -same_ports -unregistered_only -dynamic -interface ed2
>
> Thanks in advance
> Phil
Received on Mon Apr 06 1998 - 14:02:30 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:36 MST