Skip to content

Instantly share code, notes, and snippets.

@mrofi
Created February 24, 2022 08:20
Show Gist options
  • Save mrofi/99cbe25c0ec12dabed81bc7de39261e2 to your computer and use it in GitHub Desktop.
Save mrofi/99cbe25c0ec12dabed81bc7de39261e2 to your computer and use it in GitHub Desktop.
Run OpenFortiVPN in MacOS

This tutorial requires OpenFortiVPN

How to :

  1. install via brew :
brew install openfortivpn
  1. create a config file, example :
# /path/to/myvpn.conf

host = your-host
port = your-port
username = your-username
password = YourPassw0RD

  1. 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

  1. Connect again :
sudo openfortivpn -c /path/to/myvpn.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment