Files
wiki/FortiVPN.md

1011 B

title, description, published, date, tags, editor, dateCreated
title description published date tags editor dateCreated
Forticlient VPN Guide on setting up a headless FortiVPN client true 2022-04-30T20:10:28.072Z forti, vpn markdown 2021-09-02T08:14:33.492Z

Forticlient VPN

Connecting to Forti VPNs on Linux is apparently quite easy thanks to openfortivpn.

To install, run emerge net-vpn/openfortivpn on Gentoo, and follow the docs for everything else.

Set up a config:

Create /etc/openfortivpn/[config] and fill it according to this pattern:

host = 185.163.148.98 
port = 10443 
username = matanh 

Replace whatever you need, obviously - that one's out of date.

Accept certificate

Now, try connecting with openfortivpn -c /etc/openfortivpn/[config], which will complain about a missing trusted-cert and spit out the line to add to the config - ex:

trusted-cert = 32ad6666ce6ee21f9353ca24392fa3a5db179b00540616965aa8767cd8a2583c

Add this to the config and log on again. Viola!