Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to route only Ips from within the US via my vpn. I can't find a specific range for States. How can I do that properly?

share|improve this question

There is no US-only IP address range. See also Geolocation.

share|improve this answer

You can do a decent approximation by looking at what RIRs various /8s have been assigned to, but it's going to be just that--an approximation. To take another approach, you can conclusively determine if someone is connecting via a computer in the States based on ping times and the speed of light, but you can't disprove someone is in the US via this method, nor can you tell whether they're merely using a US-based proxy server with either method.

Essentially, what you're looking for lies somewhere between impossible and flawed; you can trade-off between the two to get less of the other, but you can't eliminate either one.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.