ACL Deny for large IP Scope | Unix Linux Forums | IP Networking

  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


Tags
acl block http proxy

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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
    #2  
Old 06-27-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 25 November 2014, 10:33 PM EST
Location: NM
Posts: 10,282
Thanks: 288
Thanked 815 Times in 757 Posts
Do you mean something like:

Code:
acl allow_net src 192.168.0.1-192.168.0.254

acl all src 0.0.0.0/0.0.0.0

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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 03:50 AM
variable scope shellwell Shell Programming and Scripting 3 07-15-2009 12:38 PM
Scope of AIX abhishek27 AIX 4 06-19-2008 10:49 AM
scope sundaresh Programming 7 06-28-2006 12:19 PM
Telnet deny sunbird UNIX for Dummies Questions & Answers 2 07-12-2004 05:49 PM



All times are GMT -4. The time now is 08:36 AM.