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.7K Nebula
- 190 Nebula Ideas
- 121 Nebula Status and Incidents
- 6.2K Security
- 467 USG FLEX H Series
- 305 Security Ideas
- 1.6K Switch
- 82 Switch Ideas
- 1.3K Wireless
- 44 Wireless Ideas
- 6.8K Consumer Product
- 281 Service & License
- 440 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 93 Security Highlight