mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 22:51:25 +00:00
Update cheatsheets
This commit is contained in:
25
linux/openfortivpn
Normal file
25
linux/openfortivpn
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# openfortivpn
|
||||
|
||||
> A VPN client, for Fortinet's proprietary PPP+SSL VPN solution.
|
||||
> More information: <https://github.com/adrienverge/openfortivpn>.
|
||||
|
||||
- Connect to a VPN with a username and password:
|
||||
|
||||
`openfortivpn --username={{username}} --password={{password}}`
|
||||
|
||||
- Connect to a VPN using a specific configuration file (defaults to `/etc/openfortivpn/config`):
|
||||
|
||||
`sudo openfortivpn --config={{path/to/config}}`
|
||||
|
||||
- Connect to a VPN by specifying the host and port:
|
||||
|
||||
`openfortivpn {{host}}:{{port}}`
|
||||
|
||||
- Trust a given gateway by passing in its certificate's sha256 sum:
|
||||
|
||||
`openfortivpn --trusted-cert={{sha256_sum}}`
|
||||
Reference in New Issue
Block a user