View previous topic :: View next topic |
Author |
Message |
Daniel_walmsley n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Aug 2003 Posts: 42 Location: Palmerston north
|
Posted: Tue Jun 14, 2005 2:47 am Post subject: Squid acls |
|
|
With squid do the acls use wildcard masks or subnetmasks? ie to specify 192.168.1.0 to 192.168.1.255 can i put 192.168.1.0/255.255.255.0 or 192.168.1.0 0.0.0.255 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Jun 14, 2005 2:59 am Post subject: |
|
|
Yes squid can use subnets though I use slash notation rather than the lengthy dotted quad. Here's an example of my config
Code: |
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid.pass
acl our_networks src 10.0.0.0/8 192.168.191.0/24
acl ncsa_users proxy_auth REQUIRED
# Allow the localhost to have access by default
http_access allow localhost
http_access allow our_networks
http_access allow ncsa_users
no_cache deny all
|
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|