How to add static routes to macOS IKEv2 VPN




Hello,
Our users are accessing internal's network via a client-to-site IKEv2 VPN (using native clients both on macOS and Windows). On windows, we can configure a temporary route in the installation script that will redirect all "work-related" LAN to the IPSec tunnel.
Unfortunately, we haven't find a way to do that on macOS, sure we can use networksetup to configure additional routes but:
a. It won't work unless the client has connected to the VPN once
b. I hardly see myself sending a procedure out to people (who some are not in a technical field) in order to execute a command on their macs.
Did anyone ran into this problem before ? Is there a solution ? I have looked through Apple Developer's documentation but haven't found a key that I could use in the configuration file in order to set a route.
Cordially,
Categories
- All Categories
- 434 Beta Program
- 2.7K Nebula
- 172 Nebula Ideas
- 117 Nebula Status and Incidents
- 6.1K Security
- 407 USG FLEX H Series
- 297 Security Ideas
- 1.6K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 43 Wireless Ideas
- 6.7K Consumer Product
- 268 Service & License
- 416 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.1K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 82 About Community
- 83 Security Highlight