Results 1 to 2 of 2
Hello I am moderately familiar with Ubuntu linux and a novice with Squid Proxy. I am trying to setup a squid proxy server to secure my small network. 1 proxy ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-24-2011 #1
- Join Date
- Feb 2011
Squid Proxy blocking all sites
Hello I am moderately familiar with Ubuntu linux and a novice with Squid Proxy. I am trying to setup a squid proxy server to secure my small network. 1 proxy server about 5 machines. My proxy server is running Ubuntu Server 10.10 (Marverick Meerkat) and Squid 2.7 Stable 9. When I try to go to any website through the proxy running on port 8080 and 3128. I get a message that the proxy server declined the request. Here is what I have in custom rules section of my squid.conf file.
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS acl clients src 192.168.0.0/200 192.168.1.1/200 acl badsites dstdomain .ex.com acl time goodtimes MTWTFAS 12:00 - 24:00 http_access allow clients goodtimes http_access deny badsites
- 03-18-2011 #2
- Join Date
- Apr 2010
- Bangalore, India.
try with this conf:
acl time goodtimes MTWTFAS 12:00 - 24:00
acl clients src 192.168.0.0/255
acl badsites dstdomain .ex.com
http_access deny badsites
http_access allow clients goodtimes
http_access deny all
hope this helps..
and also check you are using it in that specified timing.. check with proxy server time.
Last edited by antony_pradeep; 03-18-2011 at 06:34 AM. Reason: one point missed