View Single Post
  #8 (permalink)  
Old 23-Aug-2009, 06:02
mrabbat mrabbat is offline
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 2
mrabbat hasn't been rated much yet
Default Re: Transparent proxy using Squid + Dansguardian + SuSEfirew

Hello,
I am using a similar configuration only using a bridge as to a transparent proxy bridge, with Squid and dansguardian, and my configuration is as follows :

ebtables -t broute -A BROUTING -p IPv4 –ip-protocol 6 –ip-destination-port 80 -j redirect –redirect-target ACCEPT
ebtables -t broute -A BROUTING -p IPv4 –ip-protocol 6 –ip-destination-port 80 -j redirect –redirect-target ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 8080
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT –to-port 8080
iptables -t nat -A PREROUTING -i br0 -p tcp –dport 80 -j REDIRECT –to-port 8080

where port 8080 is the dansguardian port.
Only I have noticed that a download is never finished and the connection resets, and I get a message saying that the connection with the server was reset.I can never complete a download.
Internet Browsing looks fine and quick, only the problem is with the downloads.
Any idea of what is happening, and why does the connection resets and the downloads cut ?
Any help is much appreciated.

Thanks.
Reply With Quote