Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
How can I make the Windows VPN route selective traffic (by destination network)?
How To Use Local Internet Connection To Access Internet While Still Connected with VPN

I am using the built in Windows 7 VPN to connect to my work network however when I browse the internet its going through the VPN. How do I stop this?

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, surfasb, SysAdmin1138, 8088, studiohack Dec 15 '11 at 17:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

What type of vpn are you using? – Zoredache Dec 15 '11 at 3:15

2 Answers 2

up vote 17 down vote accepted
  • Open Network Connections
  • Select VPN connection
  • Properties
  • TCP/IP - properties
  • Advanced
  • On General tab uncheck "Use default gateway..."
  • OK-OK-OK
share|improve this answer
This works on Windows 8 too although the steps to get there differ a bit. But here you uncheck the 'Use default gateway on remote network' option. – Chris Aug 6 '14 at 6:47
thanks: the main problem for me was that i couldn't send any smtp email – zzapper Jan 10 at 13:53

You need to remove the default gateway that's being set by your VPN (you might have to ask your work's IT support guy, as it might be a setting that's pushed out from the VPN server). A temporary fix can be obtained as follows:

  1. Start a command prompt as administrator.
  2. Check your current gateways with route print (There will be a lot more, but this is the part you're looking for):

    IPv4 Route Table
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
           XX.YY.48.1     XX.YY.50.199     20
       4000         On-link    286

    (Your Metrics might be different, and your IPs will likely be different, but you can see I have two default gateways here (the entries) One of them will correspond to your internet, and one will correspond to your VPN.)

  3. Delete the appropriate gateway with route delete <gateway>. In this example, to delete the gateway, we'd use route delete
    Don't worry too much about making a mistake here; the routing table is regenerated every time you reboot the machine, or connect/disconnect from a network. If you get the wrong gateway and take down all of your internet, just reboot and reconnect.

This is only a temporary fix. Ideally, you'd contact your tech support at your work and ask him how to make the VPN stop pushing a default gateway. Another alternative is to adjust the metric of the VPN gateway, so that the system prefers the non-VPN connection (as you can see in the example, while I have two gateways, one is set with a really high metric (think "cost") to use it, and so the system only uses it if it has no other choice).

share|improve this answer
Is there a reason you downvoted this post? – Darth Android Dec 15 '11 at 3:58
My comment was removed, but I'll try to repeat: "RTFM!" and compare with my answer – Lazy Badger Dec 15 '11 at 16:07
Comparing answers, we have two different answers that accomplish the same means. Neither is wrong. – Darth Android Dec 16 '11 at 8:34

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