Super User is a question and answer site for computer enthusiasts and power users. 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 want to use a VPN but only when I am requesting for external resources. I mean, I have an IP and I have plenty of internal servers that I want to access. Of course these servers are not accessible if I am connected to the external VPN server.

So how can I do to route all the traffic using the VPN except the traffic targeted to the range for example. I have seen info about the opposite thing: only using the vpn for some ranges. I want to only use the internal IP for requests to range.

Thank you! PD: I use windows.

share|improve this question

Want you want to do is the default behavior of networking and VPNs.

Many Corporate VPNs do not allow local traffic when connected to the VPN. So your first step would be to make sure that your VPN does allow this. A quick test for is would be to connect to your VPN and then attempt to ping the internal address of your default gateway (example If you cant the the VPN is not allowing it. Check the setting in the VPN software you are using.

Also on windows you can open a command prompt and type "route print". The entry with the lowest metric is the one in use.

share|improve this answer
I can't ping any internal host once I am connected to the VPN – user1618465 Feb 27 '14 at 21:10

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.