Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save VladChekunov/66549881c00f218085fc918463f7d358 to your computer and use it in GitHub Desktop.

Select an option

Save VladChekunov/66549881c00f218085fc918463f7d358 to your computer and use it in GitHub Desktop.
Command to auth using openforti with password and totp key inside command line.
openfortivpn <Server_host>:<Server_port> --pppd-use-peerdns=1 --set-dns=1 --username="<Username>" --password="<Password>" --otp=$(oathtool --totp -b "<TOTP Key>")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment