Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-11-2006, 09:37 AM   #1
RTX Networks
LQ Newbie
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
FC4 - How to setup Transparent Proxy with Dansguardian

Hi all,

I am currently running Squid Proxy server and Dansguardian together on my server, I have squid set on port 3128 and DG to listen on port 8080.

Now everything works fine when i add the Proxy server manually in my browser, the question i have is how can i set it up so its transparent so i dont have to go round all the machines and also so that the users cant just turn the browser proxy off.

I have been playing about with it for a few days and just cant seem to figure it out

Can anyone please help

Current config is

Server ip
Squid on port 3128
IPtables rule to forward port 80 to 3128 (Transparent)
DG on Port 8080

Hope someone can help me


Old 09-12-2006, 12:49 AM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Originally Posted by RTX Networks
Current config is

Server ip
Squid on port 3128
IPtables rule to forward port 80 to 3128 (Transparent)
DG on Port 8080
sounds like all you're missing is these lines in your squid.conf:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
and you probably wanna change your iptables rule so that it redirects the packets to port 8080 instead of 3128 (so that users are forced to use dansguardian)...

Last edited by win32sux; 09-12-2006 at 12:51 AM.


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
Proxy won't let me connect, iptables, squid and dansguardian hindenbergbaby Linux - Networking 4 12-02-2009 03:45 AM
LXer: Linux Setup a transparent proxy with Squid in three easy steps LXer Syndicated Linux News 0 05-27-2006 02:33 PM
proxy/dansguardian trouble metallica1973 Linux - Software 8 04-21-2006 12:23 AM
squid (Transparent proxy) & Dansguardian metallica1973 Linux - Security 8 12-15-2005 07:52 PM
Proxy Server - Squid, Samba, Dansguardian RedCamel Linux - Security 0 03-14-2005 02:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:38 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