This tutorial requires OpenFortiVPN
- install via brew :
brew install openfortivpn
- create a config file, example :
# /path/to/myvpn.conf
host = your-host
port = your-port
username = your-username
password = YourPassw0RD
- do first connection
sudo openfortivpn -c /path/to/myvpn.conf
Will get notification to add trusted-cert
number. Add it in your config file, example :
# /path/to/myvpn.conf
host = your-host
port = your-port
username = your-username
password = YourPassw0RD
trusted-cert = 6dbaxxxxxxxxxxxxxxxxxxxxxx
- Connect again :
sudo openfortivpn -c /path/to/myvpn.conf