LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-06-2009, 02:01 AM   #1
josmcc
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Dansguardian


Having trouble with dansguardian. Service starts OK, but 8080 not showing up in portscan. Squid is running fine and I'm able to use it, but no dice with Dansguardian. Any ideas. Firewall is set to accept all connections.
 
Old 06-07-2009, 09:36 PM   #2
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
Please check whether you placed the squid port in dansguardian.conf file and also the iptables rule to redirect the requests on squid port to DG port which in your case is 8080.

DG conf file network settings:

PHP Code:
# Network Settings

# the IP that DansGuardian listens on.  If left blank DansGuardian will
# listen on all IPs.  That would include all NICs, loopback, modem, etc.
# Normally you would have your firewall protecting this, but if you want
# you can limit it to a certain IP. To bind to multiple interfaces,
# specify each IP on an individual filterip line.
filterip =

# the port that DansGuardian listens to.
filterport 8080

# the ip of the proxy (default is the loopback - i.e. this server)
proxyip put your server ip here

# the port DansGuardian connects to proxy on
proxyport 80 

PHP Code:
iptables -t nat -A  PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 
 
  


Reply



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
Dansguardian ciphyre Linux - Server 4 06-08-2009 09:45 AM
Dansguardian Thakowbbery Linux - Networking 0 11-09-2006 11:32 AM
using DansGuardian Trio3b Linux - Security 4 12-02-2005 03:18 AM
Dansguardian jomy Linux - Networking 2 11-27-2005 09:56 AM
Dansguardian mahmoudkhn Linux - Networking 4 12-20-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration