dansguardian can not access website http

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
luan.ho.vn
Posts: 4
Joined: 2015/01/29 08:15:47

dansguardian can not access website http

Post by luan.ho.vn » 2015/01/29 08:46:47

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

User avatar
TrevorH
Forum Moderator
Posts: 27152
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: dansguardian can not access website http

Post by TrevorH » 2015/01/29 09:19:10

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

luan.ho.vn
Posts: 4
Joined: 2015/01/29 08:15:47

Re: dansguardian can not access website http

Post by luan.ho.vn » 2015/01/29 15:50:35

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

luan.ho.vn
Posts: 4
Joined: 2015/01/29 08:15:47

Re: dansguardian can not access website http

Post by luan.ho.vn » 2015/02/03 02:39:52

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.

Post Reply

Return to “CentOS 5 - Server Support”