- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- plz help me create an acl in squid
Operating System - Linux
1753479
Members
5232
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2007 12:37 AM
тАО07-05-2007 12:37 AM
following is the configuration i am using in squid.conf
acl mynet src 10.0.0.0/24
http_acces allow mynet
there is a client(10.0.0.131) to whom I just want to allow the following
1, http://www.printronix.com
2, http://www.opti-ups.com/
3, http://www.apc.com/
4, http://www.metrologic.com/corporate/
plz help me create the desired acl
Regards
acl mynet src 10.0.0.0/24
http_acces allow mynet
there is a client(10.0.0.131) to whom I just want to allow the following
1, http://www.printronix.com
2, http://www.opti-ups.com/
3, http://www.apc.com/
4, http://www.metrologic.com/corporate/
plz help me create the desired acl
Regards
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2007 01:08 AM
тАО07-05-2007 01:08 AM
Solution
Create a file called /etc/squid/allowed_sites.list and add the sites one by line.
Create an acl like this:
acl restricted_ip src 10.0.0.131
acl allowed_sites url_regex "/etc/squid/allowed_sites.list"
http_access allow restricted_ip allowed_sites
You can also use a file to list the restricted ip addresses.
Create an acl like this:
acl restricted_ip src 10.0.0.131
acl allowed_sites url_regex "/etc/squid/allowed_sites.list"
http_access allow restricted_ip allowed_sites
You can also use a file to list the restricted ip addresses.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2007 01:09 AM
тАО07-05-2007 01:09 AM
Re: plz help me create an acl in squid
Check this link for more info
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 12:19 AM
тАО07-06-2007 12:19 AM
Re: plz help me create an acl in squid
Thanks for the quick/prompt and nice help ;)
Regards
Maaz
Regards
Maaz
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP