squid configuration change to accept http request on LAN

Posted by Ratan Kumar on Server Fault See other posts from Server Fault or by Ratan Kumar
Published on 2012-11-03T13:35:09Z Indexed on 2012/11/03 17:06 UTC
Read the original article Hit count: 315

Filed under:
|

installed squid + dansguardian to block adult content on my linux (ubuntu 12.10) . everything worked fine. it has blocked as expected . now the problem is i am also running an apache server for my LAN . ( kind of website ) but when accessing it via 192.168.0.1 , it says squid has blocked the connection , this is the exact error

The following error was encountered while trying to retrieve the URL: http: //192.168.0.16/

Connection to 192.168.0.16 failed.

The system returned: (113) No route to host

The remote host or network may be down. Please try the request again.

Your cache administrator is webmaster.

before configuring the squid it was working fine . what changes in the squid.conf i have to make . i tried

   acl Safe_ports 80

   allow_all Safe_ports

( i want to know how i can configure it again to listen HTTP request from LAN )

© Server Fault or respective owner

Related posts about squid

Related posts about dansguardian