Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

closed as too localized by RolandiXor, Ringtail, Eliah Kagan, Alvar, gertvdijk Dec 30 '12 at 2:54

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
And how in the heck do I format my question without all the bold stuff going on? –  Muhnamana Mar 20 '12 at 2:05
1  
If you indent text by 4 spaces, it will be treated as preformatted text. I've edited your question to be a bit more readable. –  James Henstridge Mar 20 '12 at 4:57
    
For the love of god...I looked in the FAQ's and couldn't find anything. Thanks! –  Muhnamana Mar 20 '12 at 15:39
    
This question appears to be abandoned and unanswered, could you perhaps add more detail to your question? If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! –  RolandiXor Dec 29 '12 at 16:38

Browse other questions tagged or ask your own question.