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
- 431 Beta Program
- 2.6K Nebula
- 166 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 366 USG FLEX H Series
- 293 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.7K Consumer Product
- 264 Service & License
- 408 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.9K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 83 Security Highlight