Jump to content

squid proxy and dansguardian


Guest richard_bown
 Share

Recommended Posts

Guest richard_bown

Hiya

 

not really a newbie , but I am when it comes to getting a proxy sever and dansguardian running on this machine.

 

OS 10.1, 3 ports , ppp0,eth0 & wlan0

using shorewall , all incoming requests for port 80 are redirected to port 3128, I've tried various configs but nothing gets through, so looking for a sure fire squid.conf to get me started.

what I keep getting is , a request is sent from the remote machine, DNS request is serviced, but squid denies the http connection ,TCP-DENIED/400.

 

the reason given on the remote machine is bad url, the address part of the url is chopped.

 

http access is allowed for the port address.

 

 

bit stuck, and after 5 days of playing getting brain dead..

 

some guidance would be great

 

thanks

Richard

Link to comment
Share on other sites

quick reply

 

presuming you are wanting a filtered transparent proxy

 

change the shorewall rules /etc/shorewall/rules

so thet the line

 

REDIRECT loc 3128 tcp www

is

REDIRECT loc 8080 tcp www

 

8080 is the default port for dansguardian

 

then restart shorewall

 

in the /etc/squid/squid.conf

add if they are not there already

 

httpd_accel_host virtual

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

httpd_accel_port 80

 

restart squid

 

and all should be well

 

if that dosnt work ild post my squid.conf file after i get back from work

 

Regards

 

Ric

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...