Search squid archive

Re: Problems with transparancy and pf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux