Force all VPN traffic out the remote gateway

Have you ever needed to connect to a remote site and tried a whatsmyip, and realised that “Hey my IP is still the same. All the internetz sites will know where I’m browsing from”. A bit of an extreme scenario but by default Windows VPN does not force ALL your VPN traffic out the remote gateway. Instead it will pass traffic not required in the remote network through your own gateway, for example, web traffic. So how do you force all VPN traffic out the remote gateway? Here’s how you can do it on a Windows 7/8 machine (very similar to XP so don’t stress)

  1. Open up Network and Sharing Center.
  2. Click on Change adapter settings.
  3. Locate the VPN adapter that you’ve configured previously. Right click and select Properties.
  4. Here comes the good stuff… When the properties Window appears, go to the “Networking” tab.
    VPN_Networking
  5. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties
  6. Click on the Advanced button
    VPN_Advanced
  7. In the IP Settings Tab, select the check box next to Use default gateway on remote network.
    VPN_Gateway
  8. If you are using an IPv6 IP scheme then make sure you make the changes for the IPv6 protocol from Step 5.
  9. Click OK, OK and OK!
  10. Try a whatsmyip again and voila your IP will now be that of the remote network. Note: you may need to disconnect the VPN and reconnect for the changes to take effect

Great work 🙂

Share on Facebook0Share on LinkedIn0Tweet about this on TwitterShare on Google+0Email this to someone
Posted in VPN, Windows and tagged , , , , , .

Leave a Reply

Your email address will not be published. Required fields are marked *