Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm connecting to a VPN for work, when I connect I am not able to browse the internet locally. I have unchecked "Use default gateway on remote network" to enable split tunneling in the TCP/IPv4 advanced settings for the VPN connection.

I am running Windows 7 Professional and have checked that the "Route all traffic through the internal network" setting in gpedit is not enabled. (It's set to not configured)

What can I try next to resolve this?

share|improve this question
    
What is the output of route print while connected? This should show us how Windows is making its routing decisions. –  Darth Android Jun 19 '12 at 18:27
    
Usually the admin of the VPN gateway of your work company can set if all traffic is routed through VPN or not. This overrides all local policies. –  Robert Jun 20 '12 at 11:31

1 Answer 1

up vote 2 down vote accepted

The output of route print showed two sets of 0.0.0.0 default gateways.

This happened because Apple's iTunes was previously installed. Even though it had been removed a long time ago, the issue remained. See The Bonjour service set the Default Gateway to 0.0.0.0.

Microsoft says

This problem occurs because Bonjour uses logic to add a route to specify a default gateway of 0.0.0.0 which it does not remove.

The following events must happen to receive this route, on a computer running Windows Vista or higher, with Bonjour installed:

The computer does not receive an address through DHCP prior to the Bonjour service start.

Under this condition, the Bonjour service adds a default route to the computer indicating that all internet hosts are “onlink”.

The computer is subsequently able to receive an address through DHCP. Bonjour does not remove the default route, leaving an incorrect default gateway configured on the machine. This gateway usurps the proper gateway configuration DHCP provides and prevents internet access.

Running the Microsoft FixIt and recreating the VPN fixed the issue.

share|improve this answer

Your Answer

 
discard

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.