T The Triage ManualTechnical Guides for IT Emergencies
P3 · Remote Access & VPN

Windows VPN Hijacks Default Route — Configure Split Tunneling with Static Routes

By default, a Windows VPN client sets itself as the default gateway, forcing all traffic (including general internet) through the tunnel. This can cripple local network access and degrade browsing performance. The fix is to disable 'Use default gateway on remote network' in the VPN's IPv4 advanced properties and add a persistent static route for the target remote subnet via the VPN gateway.

Indicators

Likely causes

Diagnostic steps

  1. Connect the VPN and run 'route print' to confirm a 0.0.0.0/0 default route is being installed via the VPN interface.
  2. Open Network Connections (ncpa.cpl), right-click the VPN connection and choose Properties.
  3. On the Networking tab, select Internet Protocol Version 4 (TCP/IPv4) and click Properties, then Advanced.
  4. On the IP Settings tab, uncheck 'Use default gateway on remote network' and click OK to save.
  5. Reconnect the VPN, then run 'ipconfig' and 'route print' to identify the VPN-assigned client IP and gateway for the tunnel interface.
  6. From an elevated Command Prompt, add a persistent route for the target subnet, e.g.: route -p add 192.168.123.0 mask 255.255.255.0 <vpn-gateway-ip>
  7. Verify with 'ping' or 'tracert' that traffic to the target subnet uses the VPN while general internet traffic still uses the local default gateway.

Resolution path

Prevention

Tools

References

windowsvpnsplit-tunnelingroutingnetworkingroute-commandtcp-ipdefault-gateway