Implement Split Tunnel on Windows Client






Symptom:
By default, when using the L2TP service, clients will go through a Full Tunnel. However, In certain situations, you may not want all traffic to go through the VPN tunnel
Workaround:
1)Find the L2TP profiles in Control Panel->Network and Internet->Network Connections. Right-click it and go to properties > Networking > IPv4 > Properties > advanced to uncheck “Use default gateway on remote network” and uncheck “Use default gateway on remote network”
2)Open powershell and perform the following command:
Add-VpnConnectionRoute -ConnectionName "Your VPN profile name" -DestinationPrefix "X.X.X.X/X” -PassThru
For example: You VPN profile name is “Zyxel_Win_612”, Destination subnet: 192.168.0.0/24.
Please perform:
Add-VpnConnectionRoute -ConnectionName "Zyxel_Win_612" -DestinationPrefix "192.168.0.0/24" –PassThru
If you’d like to remove it.
Remove-VpnConnectionRoute -ConnectionName "Zyxel_Win_612" -DestinationPrefix "192.168.0.0/24" –PassThru
Note: You can use route add command as well, but you need to know your client address before you added it.
Categories
- All Categories
- 417 Beta Program
- 2.5K Nebula
- 160 Nebula Ideas
- 108 Nebula Status and Incidents
- 5.9K Security
- 330 USG FLEX H Series
- 286 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 259 Service & License
- 401 News and Release
- 86 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.8K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 80 Security Highlight