Question:

Cannot connect to internet from windows desktop through fedora 9 web content filter?

by  |  earlier

0 LIKES UnLike

I have a server setup to use Squid and DansGuardian on a Fedora 9 OS. The server is working fine and blocking everything that should be blocked. For some reason though I can not connect to the internet from a Windows XP Pro client computer when using the proxy server.

Is there a script or something that needs to be done on the windows computers in order to connect through a linux proxy server?

 Tags:

   Report

2 ANSWERS


  1. sorry no idea about fidero linux:-((((((9


  2. I'll assume you are using IE on windows.  You need to go to your "Internet Options" dialog.  You can get there from either the control panel or IE.  Then click the "Connections" tab and select "Lan Settings".  Enter your proxy address to make sure you're using the proxy you have set up.  Now, Squid conforms to HTTP/1.0 which means there are a couple of things you need to watch out for since most browsers and servers use HTTP/1.1 by default.  Squid will convert all HTTP/1.1 requests to equivalent 1.0 request and servers are supposed to handle that correctly.  There are some number of servers however that do not deal with 1.0 requests correctly when it comes to the Accept-Encoding tag.  Suffice it to say some servers will respond to requests with a "chunked" encoding type which is not valid in 1.0 and will be rejected by squid.  What you will see in the browser in this case is a blank page that spins for a long time.  Luckily there is an easy workaround in squid.  Add the following lines in squid.conf and restart squid (or just 'squid -k reconfigure'):

    acl badenc_domains dstdomain .msn.com

    acl badenc_domains dstdomain .hotmail.com

    acl badenc_domains dstdomain <.other.domains.com>

    header_access Accept-Encoding deny badenc_domains

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.