-   Linux - Newbie (
-   -   need help regarding ACLs in Squid (

blackvirus 02-08-2013 12:47 AM

need help regarding ACLs in Squid
1 Attachment(s)
i have installed RHEL5 and on it i install Squid3.0stable25-1el5
so after configuration i can run internet from this server. issue is when i define ACLs and restart the service it restart without any error but doesnt block anythng.
need help guys

acid_kewpie 02-08-2013 02:00 AM

why did you attach a standard service restart instead of the actual ACL's and other config ??? that tells us nothing at all.

blackvirus 02-08-2013 03:44 AM

1 Attachment(s)
sorry wrong file attached.

squid .conf file is attached now
kindly rename .txt to .conf

acid_kewpie 02-08-2013 04:09 AM

acl localnet src # RFC1918 possible internal network
http_access allow localnet

this is permitting access to everywhere from what you later define as your own networks. remove it.

also note there's a really weird set of lines...

http_access allow lan
http_access allow lan1
http_access allow lhrlan
http_access allow lhrlan1

http_access allow all
http_access deny all

why pick out subnets if you then blanket allow everyone anyway? And why then deny everyone access after you've alreadu permitted it?

All times are GMT -5. The time now is 02:09 PM.