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
- 438 Beta Program
- 2.7K Nebula
- 188 Nebula Ideas
- 121 Nebula Status and Incidents
- 6.2K Security
- 454 USG FLEX H Series
- 303 Security Ideas
- 1.6K Switch
- 81 Switch Ideas
- 1.3K Wireless
- 44 Wireless Ideas
- 6.8K Consumer Product
- 278 Service & License
- 435 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 91 Security Highlight