User Tools

Site Tools


networking:windows:windows_vpn

Windows VPN Notes

Windows 8.1

Default Route

https://support.microsoft.com/en-us/kb/2716544

In the default VPN connection configuration, a new default route will be added that will route all non-local traffic over the VPN connection. This may, or may not work in your favor. Routing all non-local traffic over the VPN may:

  • Facilitate network browsing and name resolution on the connected network
    • Windows name resolution relies on Active Directory-integrated DNS or NetBIOS broadcast
  • Complicate normal Internet (non-local) traffic
    • Routing all non-local traffic over the VPN connection will almost certainly slow things down
    • Location-based services will be affected since they will detect your location as the VPN termination point

:!: By default, the Use default gateway on remote network check box is selected.

To change the Use default gateway on remote network setting for IPv6 and IPv4, follow these steps:

  1. Run ncpa.cpl to open the Network Connections Control Panel applet
  2. Right-click the VPN connection, and then click Properties
  3. Click Networking (tab)
  4. Select Internet Protocol Version 4 (TCP/IPv4) and then click Properties
  5. Click Advanced
  6. Click the IP Settings tab
  7. Disable the addition of a new default route by clearing the Use default gateway on remote network check box

Windows Network Connections

Windows VPN Connection Properties Windows VPN TCP/IP Properties Windows VPN Advanced TCP/IP Properties

Windows 10

Connect/Disconnect

VpnMyWay

Batch Files

https://shiftkeysoftware.wordpress.com/2015/08/24/quickly-connect-to-a-vpn-on-windows-10/

@echo off
rasdial "My VPN connection name here"

and to disconnect:

@echo off
rasdial "My VPN connection name here" /Disconnect
networking/windows/windows_vpn.txt · Last modified: 2016/12/18 13:30 by gcooper