Forum Discussion

birkett83's avatar
birkett83
Copper Contributor
Apr 06, 2020

Feature Request: Add routes to IKEv2 VPNs automatically

The IKEv2 VPN client in Windows now has the setting "use default gateway on remote network" disabled by default, but it also does not support automatically adding routes based on the IKEv2 traffic selectors supplied by the server. The only route it adds automatically is a class-based route based on the IP address assigned to the client. Class-based routing has been obsolete since 1993, and for a lot of sites, especially those using IP addresses in the 192.168.0.0/16 range, this means they need to add routes to their other subnets manually. As far as I can tell, adding routes manually isn't even possible via the GUI, the only way I can find to do it is the powershell command Add-VpnConnectionRoute. In this period where many people are working from home for the first time, this means we require a lot of time spent manually adding routes via powershell.

 

Other IKEv2 clients (MacOS, iOS, Android, Strongwan on Linux/BSD) automatically add routes based on the traffic selector values negotiated in the IKEv2 handshake. Please consider adding support for this behaviour in the Windows IKEv2 VPN client.

  • georcon's avatar
    georcon
    Copper Contributor

    I thought I was missing something. Are IKEv2 published routes not respected by Windows10? 

    As an interim, I am manually installing the routes (Add-VpnConnectionRoute) - but this solution is far from optimal, especially for clients. birkett83 

Resources