Re: [squid-users] Problems with transparancy and pf

From: Indunil Jayasooriya <indunil75_at_gmail.com>
Date: Tue, 29 Mar 2011 16:50:31 +0530

> I've now installed Freebsd 8.2-RELEASE on new hardware and I'm using my
> config from the 7.2 machine.
>
> My problem is that squid is not working with transparency. The browser
> traffic goes directly to the Internet.
>

If u r doing with PF, Can I have your pf rules?

I am doing squid 2.7.9 tranparent with OpenBSd 4.8.

These are my PF rules.

# filter rules
block in log
pass out log

pass in log on $int_if proto tcp from $lan_net to any port { 80 8080 } \
    rdr-to 127.0.0.1 port 3128

in squid.conf file

http_port 3128 transparent

acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network

http_access allow localnet

-- 
Thank you
Indunil Jayasooriya
Received on Tue Mar 29 2011 - 11:20:39 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 29 2011 - 12:00:02 MDT