Welcome to WebmasterWorld Guest from

Forum Moderators: LifeinAsia & httpwebwitch

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)

10+ Year Member

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)

WebmasterWorld Senior Member 5+ Year Member

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)

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

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


Featured Threads

Hot Threads This Week

Hot Threads This Month