We're using IPfilter and NAT, combined with a redirect of port 80 at
our router. This in FreeBSD 2.2-STABLE, with the CAM patches for our
Ultra2 Adaptec controller.
In our rc.local we have:
echo -n ' ipfilter'
modload /lkm/if_ipl.o
echo -n ' ipnat'
/etc/ipnat.conf
echo -n ' sysctl -w kern.update=2'
/usr/sbin/sysctl -w kern.update=2
echo -n ' squid'
/usr/local/squid/bin/squid &
/etc/ipnat.conf is:
ipnat -f - <<EOM
rdr fxp0 0.0.0.0/0 port 80 -> 208.146.240.10 port 3128
EOM
208.146.240.10 is our squid machine.
We found instructions on instructing our Cisco router to redirect at:
http://miracle.geol.msu.ru:8104/lexa/transparent-proxy-eng.html
Hope this helps. I have to warn you, though--I'm not the one who set
it up, so if this doesn't make sense to you or you need additional
help with a particular part of it, I am unlikely to be able to help
:-)
Cheers;
Nat
(no relation to the network address translator)
Received on Fri Aug 07 1998 - 10:11:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:28 MST