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
- 439 Beta Program
- 2.8K Nebula
- 199 Nebula Ideas
- 125 Nebula Status and Incidents
- 6.3K Security
- 489 USG FLEX H Series
- 322 Security Ideas
- 1.6K Switch
- 83 Switch Ideas
- 1.3K Wireless
- 46 Wireless Ideas
- 6.8K Consumer Product
- 284 Service & License
- 455 News and Release
- 89 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 95 Security Highlight