Welcome to WebmasterWorld Guest from

Forum Moderators: LifeinAsia

Message Too Old, No Replies

Is there a way to ask "Given this range of IPs, are there any in USA?"

1:41 pm on Nov 20, 2012 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 13, 2005
posts: 128
votes: 0

Let's say you buy a firewall, plug it in, and decide you want to block "all traffic that doesn't originate from the USA" (or whatever country - I'm just picking one so that I can be specific in my request).

You go through your logs and you see a hit from You want to know, "Are there any IPs that are in the range that are in the US?" Because if there aren't, you want to add that range as a block in your firewall.

Are there any sites/ways to ask such a question? I know that I can basically hack around it to see around 95% or so (looking at 5-10 IPs in that range). I'm just wondering if there's an easier way to ask that question.

2:04 pm on Nov 20, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 6, 2008
votes: 0

Instead of blocking all IP's that aren't from the US, you should set it up to only accept US IP ranges. it will be much easier to moderate.

There are plenty of sites online that list the US IP ranges if you Google it.
7:26 pm on Nov 28, 2012 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
votes: 99

You can download all the IP ranges by country direct from the sources:


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members