Re: Transparent proxy with FreeBSD

From: Nathan Torkington <>
Date: Fri, 7 Aug 1998 11:10:39 -0600 (MDT)

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'

    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 port 80 -> port 3128
    EOM is our squid machine.

We found instructions on instructing our Cisco router to redirect at:

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


(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