EFW Support

Support => General Support => Topic started by: Pennywis3 on Tuesday 03 August 2010, 06:44:56 pm



Title: DansGuardian & Port Redirection
Post by: Pennywis3 on Tuesday 03 August 2010, 06:44:56 pm
Hello!

I'm currently running CentOS with Dansguardian as the filter and im trying to recreate the same on Endian Community 2.4
Im redirecting all traffic to port 8080 where Dansguardian is listening, my ip tables rule looks like this:

-A PREROUTING -s ! 192.168.0.13 -d ! 192.168.0.0/255.255.255.0 -p tcp -m tcp ! --sport 80 --dport 80 -j REDIRECT --to-ports 8080

So the rule goes, if source is not 192.168.0.13 ( Exchange server ) and destination is not 192.168.0.0/24 and the protocol is TCP and the source port is not 80 and the destination port is 80

then redirect to port 8080

Now i need to create the same rule on Endian so that Dansguardian is filtering everyone in the network, regardless of the Proxy ( turned off or on the filtering stays )

I'm preety sure that redirect cant be set up from the web GUI as there are lacking options, on the other hand i cant find the active IPTABLES file to insert this.

Anyone maybe know how this can be done?

Thanks a lot for the help :)

Regards, Mitja