How to run two IKEv2 tunnels (full + split) on the same router?




We have external staff accessing company resources via smartphones and laptops.
Previously we used IPSec IKEv1 tunnels, but now we’re moving to IKEv2.
Smartphones are already set up with an IKEv2 “all traffic” tunnel (EAP auth with username/password, config payload works fine).
Now we want laptops/PCs to connect via IKEv2 as well, but they must use split tunneling due to limited bandwidth at HQ.
When we add a second IKEv2 connection as a split tunnel, clients hit the wrong tunnel and fail to connect.
Question: How can we configure two IKEv2 tunnels on the router so that smartphones always get the full tunnel and laptops/PCs always get the split tunnel?
We’d like to keep EAP with username/password for auth and push IP settings via payload.
Thank's
Dirk
(This was kindly supported by ChatGPT)
All Replies
-
I take it this is for the non H models USG?
In windows you can disable full tunnel by VPN setting IPv4
Then for split tunnel use PowerShell
Add-VpnConnectionRoute(VpnClient) | Microsoft Learn
Add-VpnConnectionRoute -ConnectionName "zyxel-router6.ddns.net" -DestinationPrefix 192.168.138.0/24
Using StrongSwan client on phone and windows built in client both clients where able to connect but you need to change Windows EncryptionMethod to match StrongSwan default
Phase 1
AES256 SHA256
DH14
Phase 2
AES256 SHA256
DH2use PowerShell
Set-VpnConnectionIPsecConfiguration(VpnClient) | Microsoft Learn
Set-VpnConnectionIPsecConfiguration -ConnectionName "zyxel-router6.ddns.net" -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES256 -EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -PfsGroup PFS2 -DHGroup Group14 -PassThru -Force
0 -
I forgot to mention that we’re using the Zyxel VPN Client because we need the GINA feature, meaning the tunnel has to be established before Windows login.
With the Windows built-in client this only works on a device level, but we need a user-based VPN tunnel.0 -
The Zyxel VPN Client should fine with that setup
0
Categories
- All Categories
- 438 Beta Program
- 2.7K Nebula
- 183 Nebula Ideas
- 121 Nebula Status and Incidents
- 6.2K Security
- 449 USG FLEX H Series
- 301 Security Ideas
- 1.6K Switch
- 80 Switch Ideas
- 1.3K Wireless
- 44 Wireless Ideas
- 6.8K Consumer Product
- 276 Service & License
- 434 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