View Single Post
  #20 (permalink)  
Old 03-12-2009, 09:01 AM
Clint1's Avatar
Clint1 Clint1 is offline
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Jun 2005
Location: Louisiana, USA
Posts: 1,324
Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9
Default Re: Blocking non-US IPs?

Quote:
Originally Posted by NetProwler View Post
In this case we will assume that we block all and then allow only the country IP addresses we are interested in (standard operating procedure in setting up the rules in a firewall or with .htaccess).

For allowing only IP addresses coming from the US, you will have to factor in this:

# Country: UNITED STATES
# ISO Code: US
# Total Networks: 36,549
# Total Subnets: 1,460,108,286

The listing of all these network segments will run into a few thousand lines.
When you say "in this case", do you mean what the OP asked? If so, there's no way of knowing for sure since they have disappeared. But the sentiments of the thread seem to imply they wanted to add blocks on specific regions instead of allowing specific regions. After all, it's must easier (I assume) to add IP block ranges.
__________________
Happy Thanksgiving to all & God Bless,
-Clint
(Join Date: 2003)
Reply With Quote