Unix/Linux Go Back    

IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

ACL Deny for large IP Scope

IP Networking

acl block http proxy

Thread Tools Search this Thread Display Modes
Old Unix and Linux 06-27-2013
BobSpero BobSpero is offline
Registered User
Join Date: Jun 2013
Last Activity: 28 February 2014, 10:31 AM EST
Location: Virginia Beach, 23455
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
ACL Deny for large IP Scope

I have a large scope of 7,700 IPs that I want my proxy to allow and block everything else. Is such a large block possible with Squid?
Sponsored Links
Old Unix and Linux 06-27-2013
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 22 October 2017, 8:37 PM EDT
Location: NM
Posts: 11,216
Thanks: 567
Thanked 1,110 Times in 1,024 Posts
Do you mean something like:

acl allow_net src

acl all src

acl whitelist somedomain .google.com .mycompany.com

http_access allow whitelist allow_net
http_access deny all

This blocks everything except a few IP's and firewall devices/modems. Is this what you mean? However, may the UNIX gods help you maintaining an acl list of 7700 ip's manually. Answer to your question: yes it will block everything you want.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Does ACL can only grant/deny access for specific command? devyfong AIX 8 03-15-2010 02:50 AM
variable scope shellwell Shell Programming and Scripting 3 07-15-2009 11:38 AM
Scope of AIX abhishek27 AIX 4 06-19-2008 09:49 AM
scope sundaresh Programming 7 06-28-2006 11:19 AM
Telnet deny sunbird UNIX for Dummies Questions & Answers 2 07-12-2004 04:49 PM

All times are GMT -4. The time now is 12:01 AM.