theinvisible / openfortigui

VPN-GUI to connect to Fortigate-Hardware, based on openfortivpn
https://hadler.me/linux/openfortigui/
GNU General Public License v3.0
492 stars 54 forks source link

Ability to add specific routes to set up #81

Closed mzealey closed 5 years ago

mzealey commented 5 years ago

I want to add a few specific routes when the connection comes up. Is it possible to either allow a post-up type script to be created to do this manually, or some way in the gui/configuration to allow this? (both host & net)

theinvisible commented 5 years ago

Yes, as its using PPPD interfaces in the background you can use PPP ip-up, ip-pre-up and ip-down scripts.