Dansguardian Routing Query
After finally getting dansguardian to process urls and activate, ive now stumbled into another fiasco, it disabling all internet when I had the iptables rule.
Now that means that it listens on 8080, accepts URL and than tells Squid to deal with the query. I thought using the following iptables command, I could force all incoming 3128 traffic onto port 8080 where DG would do its thing, and than re-route through localhost(Squid) and back out. Is there maybe an infinite loopback occuring here?
filterip = 127.0.0.1 # ??
filterport = 8080 #DG Port
proxyip = 127.0.0.1 #Squid Loopback
proxyport = 3128 #Squid Port
Squid is set to allow locahost
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 3128 -j REDIRECT --to-port 8080