Hello, I have a working OpenVPN client/server setup. We have the need to have a long list of routes added to the client when the VPN is established so we can split tunnel. I have this working perfectly on Windows clients by using the following line in the client config file:
Code: Select all
#include split tunnel route list
config "C:\\Users\\<snipped>\\VPN\\splittunnellist"
The splittunnelist file looks something like (just with many more routes):
Code: Select all
route-nopull
route 10.250.0.0 255.255.255.0 vpn_gateway
route 10.10.10.0 255.255.255.0 vpn_gateway
The problem is, on our macOS clients, I do not know how to get the route list imported. I have confirmed if I manually add the following to the Mac client config that it adds the route, but the point of having a separate file is so that we have one central place to maintain the list of routes we need for all clients:
Code: Select all
route-nopull
route 10.250.0.0 255.255.255.0 vpn_gateway
route 10.10.10.0 255.255.255.0 vpn_gateway
So is it possible to do the same thing we do on Windows using the config directive to import more lines on the macOS clients? Thank you!