I am trying to set up a transparent squid proxy with ipfw.  I am using
FreeBSD 4.7-STABLE (current as of today), version 2.5_1 of squid.  I
have read the relevant information on the squid Web site and searched
the FreeBSD mail archive.  I am pretty sure I have everything set up
right but it just does not work.

I have the following in my kernel config:

options         IPFIREWALL              #firewall
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPDIVERT                #divert sockets
options         IPSTEALTH               #support for stealth forwarding

I have the following in my squid.conf file:

http_port 3128
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

I am using the "SIMPLE" firewall setup I have the following in my
rc.firewall file

        # Allow setup of any other TCP connection
        ${fwcmd} add pass tcp from any to any setup

        # Try this to get a transparent proxy
        ${fwcmd} add fwd 127.0.0.1,3128 tcp from any to any 80

I have also tried setting the first rule above to "...any to any 80" but
that did not help.

What am I missing?

Thanks.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to