====== 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: - Run ''ncpa.cpl'' to open the **Network Connections** Control Panel applet - Right-click the VPN connection, and then click **Properties** - Click **Networking** (tab) - Select **Internet Protocol Version 4 (TCP/IPv4)** and then click **Properties** - Click **Advanced** - Click the **IP Settings** tab - Disable the addition of a new default route by clearing the **Use default gateway on remote network** check box {{:networking:windows:windows_network_connections.png?750 |Windows Network Connections}} {{:networking:windows:windows_vpn_connection_properties.png?275 |Windows VPN Connection Properties}} {{:networking:windows:windows_vpn_tcpip_properties.png?275 |Windows VPN TCP/IP Properties}} {{:networking:windows:windows_vpn_adv_tcpip_properties.png?275 |Windows VPN Advanced TCP/IP Properties}} ===== Windows 10 ===== ==== Connect/Disconnect ==== === VpnMyWay === http://superuser.com/questions/947060/windows-10-vpn-connect-button-cumbersome https://vpnmyway.wordpress.com/ === 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