[squid-users] Squid + DansGuardian + Bridging

From: psd17j-jacob <jacob.roebauer_at_gmail.com>
Date: Thu, 19 Sep 2013 10:02:26 -0700 (PDT)

Hi all,

So I am attempting to filter a school's internet connection using DG + Squid
+ Bridging for a transparent proxy. The bridge is up and working as br0.9.
Squid is running at 3128 and DG is running at 8080.

For IPTables I have the following rules:
-A PREROUTING -p tcp -m tcp --dport 3128 -j REDIRECT --to-ports 8080
-A PREROUTING -i br0.9 -p tcp --dport 80 -j REDIRECT --to-port 8080
-A PREROUTING -i br0.9 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports
8080

for ebtables I have the following rules:

-A BROUTING -p IPv4 -i br0.9 --ip-protocol 6 tcp --ip-dport 80 -j redirect
-A BROUTING -p IPv4 -i br0.9 --ip-protocol 6 tcp --ip-dport 443 -j redirect

Yet I see absolutely no traffic coming through DG/Squid. Br0 is a bridge
between eth0 and eth1, and then VLAN tagged with VLAN 9 for br0.9.

Thanks for any help you may be able to offer!

When I point my browser's proxy settings to IP:8080 it works just fine, and
content is filtered, but despite my best efforts I cant get the redirect
rules to actually redirect.

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-DansGuardian-Bridging-tp4662202.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Thu Sep 19 2013 - 17:03:07 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 19 2013 - 12:00:04 MDT