dansgurdian configuration with centOS 6.4
Hi Team,
1) I have installed CentOS 6.4 and configured Squid3 Internet proxy with NTLM authentication (Active Directory configuration)+ dansguardian-2.12.0.3 . 2) Internet Proxy is worked, but i want it should work through Dansgurdian, but it did not work. ================================Refer Link- http://en.linuxkitchen.com/2013/09/0...id-redirector/ iptables -t nat -A OUTPUT -p tcp –dport 80 -m owner –uid-owner squid -j ACCEPT iptables -t nat -A OUTPUT -p tcp –dport 8080 -m owner –uid-owner squid -j ACCEPT iptables -t nat -A OUTPUT -p tcp –dport 80 -j REDIRECT –to-ports 8080 iptables -t nat -A OUTPUT -p tcp –dport 8080 -j REDIRECT –to-ports 8080 ================Error============ When i am adding above firewall rule its giving error. #####Dansgurgian output#### # You can have the same IP twice so long as it has a different port. filterip = 10.211.1.100 # the ports that DansGuardian listens to. Specify one line per filterip # line. You can specify different authentication mechanisms per port but # only if the mechanisms can co-exist (e.g. basic/proxy auth can't) filterports = 8080 #filterpoots = 9999 #filterports = 8081 # the ip of the proxy (default is the loopback - i.e. this server) proxyip = 127.0.0.1 #proxyip = 10.211.1.100 ======================== |
#iptables -t nat -A OUTPUT -p tcp –dport 80 -m owner –uid-owner squid -j ACCEPT
Bad argument `–dport' Try `iptables -h' or 'iptables --help' for more information. ========================== I am unable to forward port. |
Quote:
|
All times are GMT -5. The time now is 02:48 PM. |