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
- 415 Beta Program
- 2.5K Nebula
- 154 Nebula Ideas
- 103 Nebula Status and Incidents
- 5.9K Security
- 307 USG FLEX H Series
- 284 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 256 Service & License
- 397 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.7K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 77 Security Highlight