Guest richard_bown Posted February 19, 2005 Report Share Posted February 19, 2005 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 Quote Link to comment Share on other sites More sharing options...
Ric Posted February 21, 2005 Report Share Posted February 21, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest richard_bown Posted February 21, 2005 Report Share Posted February 21, 2005 Just as you said Ric, I did find this last nite when trying to debug THANKS Richard Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.