LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 10-16-2008, 06:03 AM   #1
gautamnarayan
LQ Newbie
 
Registered: Sep 2008
Posts: 25

Rep: Reputation: 15
Squid and Dansguardian


Dear Sir,

I am using Redhat 5 Enterprises
I am configuring squid proxy. and using proxy guard DANSGUARDIAN

I am using proxy port 3128
and dansguardian port 8080
and put a re director in IPtable

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 3128 -j REDIRECT --to-port 8080


And when i command

service squid restart
and then i m getting proper out put and squid is working fine.
But while i command

service dansguardian restart

then i am getting error message that below mentioned

(dansguardian): Error connecting to parent proxy

I understand that it is not able to connect with squid proxy server.
But i cannot trace out where I am missing ? why this problem occurs ?

Please help me.
 
Old 10-16-2008, 06:05 AM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You should havea n entry in dansguardian.conf along the lines of

proxyport = 3128

Is that there?

If so, is squid listening on localhost? Try

netstat -nalp | grep :3128

Last edited by billymayday; 10-16-2008 at 06:07 AM.
 
Old 11-11-2008, 01:56 PM   #3
synpse
LQ Newbie
 
Registered: Mar 2004
Location: Pennsylvania
Distribution: CentOS
Posts: 28

Rep: Reputation: 15
Why are you redirecting 3128 to 8080 ?? DansGuardian should do this automatically. Squid should be set to listen to the localhost. On my setup I redirect port 80 to 8080, so that users transparently go through the filter.
 
  


Reply

Tags
dansguardian, squid


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 problem ketchukf Linux - Newbie 1 02-10-2008 07:51 AM
Dansguardian + Squid SBN Linux - Server 2 07-12-2007 07:16 AM
Dansguardian and Squid yeeha! Linux - Networking 4 08-21-2006 01:22 AM
dansguardian + squid shafey Linux - Security 2 12-31-2005 11:42 AM
Dansguardian/Squid HELP! Prizam Linux - Software 3 09-23-2005 06:30 PM


All times are GMT -5. The time now is 11:29 AM.

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