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

Documentation for running from the commandline? #83

Closed mzealey closed 5 years ago

mzealey commented 5 years ago

Looking at ps output it seems like I can probably run the vpn tunnel from command-line like:

/usr/bin/openfortigui --start-vpn --vpn-name blah --main-config /home/mark/.openfortigui/main.conf

Can this be documented somewhere rather than having to use gui to start/stop vpns?

theinvisible commented 5 years ago

Hi, yes thats possible but is not a main feature. If you want a CLI version to connect to Fortigate please use openfortivpn. Also there can be crashes because the process tries to connect to the main/parent process which doesnt exist in this case. Maybe its possible in the future but has very low priority.