I would like to add a custom route on the ppp interface after the VPN connection has been established. I can currently manually run sudo ip route add 1.2.3.4/32 via 10.20.30.40 dev ppp0 to do this. But it would be a lot easier if openfortivpn did that for me when the interface is created and/or there is a working VPN connection. This way it wouldn't require manual intervention everytime my systems boots (and starts openfortivpn) or after VPN reconnect.
I would suggest something like --add-route 1.2.3.4/32 which would automatically determine the correct gateway address and interface name from the VPN connection.
I would like to avoid --set-routes and --half-internet-routes because I have other networking and VPN connections on the same system.
I would like to add a custom route on the ppp interface after the VPN connection has been established. I can currently manually run
sudo ip route add 1.2.3.4/32 via 10.20.30.40 dev ppp0to do this. But it would be a lot easier if openfortivpn did that for me when the interface is created and/or there is a working VPN connection. This way it wouldn't require manual intervention everytime my systems boots (and starts openfortivpn) or after VPN reconnect.I would suggest something like
--add-route 1.2.3.4/32which would automatically determine the correct gateway address and interface name from the VPN connection.I would like to avoid
--set-routesand--half-internet-routesbecause I have other networking and VPN connections on the same system.