Page 1 of 1

dansguardian can not access website http

Posted: 2015/01/29 08:46:47
by luan.ho.vn
Hi all.
I've just install dansguardian 2.10.1.1 with new configuration. But when i restart, the client have just only access https website and http website can not access (error same internet connect lost). i'm appreciate your help.This is my configuration below.

Dansguardian.conf

Code: Select all

filterip = 
filterport = 8080
proxyip = 127.0.0.1
proxyport = 3128
iptables

Code: Select all

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to-destination 172.22.0.2:8080
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE

Re: dansguardian can not access website http

Posted: 2015/01/29 09:19:10
by TrevorH
Having it listen only on 127.0.0.1 means that it will only work from this machine. Was that your intent? Also you have only one iptables rule and that's for port 80 so that probably explains why port 443 still works - it's not being redirected at all so is bypassing dansguardian.

Re: dansguardian can not access website http

Posted: 2015/01/29 15:50:35
by luan.ho.vn
Thank you for your reply.
Before with this configuration the server worked. But when reinstall server, we have this problem.
Can you help us to show what error here in my configuration?

topology

Lan----->eth1(FW)eth0---->internet

Re: dansguardian can not access website http

Posted: 2015/02/03 02:39:52
by luan.ho.vn
I did it. but another problem. Client access web very slow when on dansguardian. Average 1min for loading 1 website. i have searched optimizing dansguardian in google but not working.