Dansguardian and Squid
I have squid running on my proxy. I tried to change it to listen on port 4112. Well, it works.
Now, my Dansguardian won't work. I'd changed the filter port to 8080 and proxy port to 4112. The problem is, where it goes wrong? Is it because the firewall setting? Tnax in advanced. |
Quote:
Code:
netstat -an | grep "LISTEN " Code:
iptables -v -n -L |
Quote:
I've to change back squid to listen on port 8080 and dansguardian's filter port to 3128 to make DG running. If not, it won't start. So here's how it goes: Code:
netstat -an | grep "LISTEN " Code:
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN Code:
iptables -v -n -L |
you should be able to make squid and dansguardian run on pretty much any port you want... the typical ports are 3128 for squid and 8080 for dansguardian... squid doesn't need to be told about dansguardian, but dansguardian has a configuration file where you tell it which port squid is listening on - it should say 3128... without seeing your firewall rules, there's no way to say whether it's a firewall issue... if you firewall is logging, then check your syslog...
|
Ya, I've changed the DG's config file to the port that squid listening on.(i.e: 4112. That's the port that 'd changed in the squid config). Then I changed the filter port to 8080. With this configuration, DG won't start at all.
How can I attach the output(in a form of file) here as it's rather long to be put in a code tag. I use Shorewall and had tried to changed the rule with this: Code:
REDIRECT loc 4112 tcp www |
All times are GMT -5. The time now is 08:54 AM. |