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


Tags
acl block http proxy

Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
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
    #2  
Old Unix and Linux 06-27-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 27 August 2015, 4:00 PM EDT
Location: NM
Posts: 10,529
Thanks: 353
Thanked 880 Times in 818 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 Linux or Unix Question

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 05:25 PM.