Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-27-2009, 07:48 PM   #1
LQ Newbie
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Problems with DansGuardian

I have a problem with DansGuardian,

Reading in a blog here:

The same problem has the user: win32sux, a few years ago, but the answer to that does not appear.

Synopsis: I have a linux box with squid+dansguardian, configured as transparent proxy on port 80, but certain websites loads very slow with NO IMAGES (ex: www.facebook,, , in the post I linked before is exactly my problem, but the answer never appear.

Please if someone knows how to contact with WIN32SUX or have the solution I apreciate so much. or in this pages. (user: jrobe2p)

Many thanks.

Old 07-29-2009, 04:51 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Welcome to LQ!
Please don't place your email address in your posts. All you will get is spam. Answers will be posted on this thread so that everyone can benefit. That said, I don't have any but I'm sure that someone else will.
Old 07-29-2009, 04:58 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
One use has replied to win32sux, with some solutions like making changes to file /etc/dansguardian/pics and then reloading dans or with dansguardian -r or dansguardian -q.
Have you tried that.
Old 07-30-2009, 03:05 PM   #4
LQ Newbie
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Many thanks for your response,

After a few days of sleepless,
investigating about this, tracing the possible reason for this behavior I discover that the problem is not the squid, dansguardian, snort ... the <<mod edit: profanity cleanup>> problem are the rules in the firewall. I'm looking for an update for our firewall-rules.

For test and solution this problem meanwhile I found an update for my firewall-rules I did this:

<enter as root>

1st. disable firewall service:
# service firewall stop

2nd. I made a script file with basic rules: ALL PERMITTED.

#vi <enter>

type this:
# Creando la configuracion para NAT: proxy/router/gateway

# Step 1, Activar el reenvío de paquetes:
# echo 1 > /proc/sys/net/ipv4/ip_forward

# Step 2, Limpiaremos las reglas del iptables:
iptables -X
iptables --flush
iptables --table nat --flush

# Step 3, Activaremos el NAT con enmacaramiento en las reglas del iptables:
# eth0 - interface publica (internet)
# eth1 - interface interna (red privada-mired-)
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT

# Fin Configuracion


save file and then run it:
# sh
and now you have a transparent proxy gateway (with your legs open to the world jajajajaja, but functional)

3er. You must look for an update for your firewall rules.

Many thanks for your help, you give me so much ideas for discover the solution.


Last edited by pixellany; 07-31-2009 at 09:20 AM.
Old 07-31-2009, 09:20 AM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Watch the language please---this is a family show.....

Welcome to LQ---we're glad to see your issue got resolved


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID/Dansguardian Proxy configuration and problems downloading updates. metallica1973 Linux - Networking 2 03-27-2008 05:30 PM
Dansguardian permission problems jasboy Linux - Software 3 09-27-2006 07:10 PM
Problems with DansGuardian win32sux Linux - Software 12 12-07-2004 05:26 PM
DansGuardian/Squid/SquidGuardian problems :-( Sn7 Linux - Security 1 06-21-2004 10:22 AM
dansguardian setup problems!!! kbrian38 Linux - Software 1 06-16-2004 10:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration