Co-authored-by: Jussi Laakkonen <email@example.com>
This adds a new VPN plugin that uses openfortivpn binary to access
FortiNet VPNs with the help of ppp. Code is based on existing L2TP and
OpenConnect plugins. Plugin structure follows same approach as in L2TP
plugin. Property management is similar to OpenConnect plugin.
Additionally, via patch in openfortivpn, --trust-all-certs, is supported
as a property to disable certificate signature checks. Following
properties are supported so far, which are saved to the settings:
Name Value Option
openfortivpn.AllowSelfSignedCert string: true|false --trust-all-certs
openfortivpn.TrustedCert string: fingerprint --trusted-cert
openfortivpn.Port string: digits
By default, if Port is omitted, openfortivpn uses port 10433.
Signed-off-by: Alexey Andreev <firstname.lastname@example.org>
Signed-off-by: Jussi Laakkonen <email@example.com>