Having Trouble Granting Access Via Squid
Posted
by
Muhnamana
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Muhnamana
Published on 2012-03-20T02:04:48Z
Indexed on
2012/03/20
5:39 UTC
Read the original article
Hit count: 312
I'm by far no expert at this but how do I grant access to Squid? I'm current using 2.7.STABLE9.
I've read you need to add a couple of lines, an acl and http_access line.
So here's what I added and where. I highly doubt this is right since I'm trying to connect via my laptop and Firefox is yelling at me saying the proxy server is refusing connections.
ACL Part:
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
**acl all_computers scr 192.168.1.0/255.255.255.0**
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
http_access part:
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
#http_access allow localnet
http_access allow localhost
http_access allow all_computers
Any suggestions on what I'm doing wrong?
© Ask Ubuntu or respective owner