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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...