Commit graph

5 commits

Author SHA1 Message Date
Aaron Goodman
36f77a171d openfortivpn: avoid flash writes on pppd script
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-06-04 16:55:11 -04:00
Aaron Goodman
9b0fce23d1 openfortivpn: Use netifd for script rather than init script
By using the netifd for open fortivpn we are able to set up multiple
VPN connections and manage them through the netifd toolset.

This also adds support for binding an openfortivpn client to a given
interface, in which case when that interface comes online, the vpn
will be initiated via a hotplug script.

This is a breaking commit and configurations will need to be migrated
from openfortivpn.config into the /etc/config/networks.

Example configuration via /etc/config/network:

config interface 'ftvpn'
        option proto 'openfortivpn'
        option server 'example.com'
        option username 'USERNAME'
        option password 'PASSWORD'
        # optional arguments follow
        option local_ip '192.0.5.1'
        option port '443'
        option iface_name 'wan'
        option trusted_cert 'CERT_HASH'
        option set_dns '0'
        option pppd_use_peerdns '0'
        option metric '10'

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-06-04 16:51:30 -04:00
Aaron Goodman
4f727bcc02 openfortivpn: version bump to 1.14.1
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-06-04 16:49:47 -04:00
Lucian Cristian
b18c316cf5 openfortivpn: update to 1.13.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-03-25 18:43:53 +02:00
Lucian Cristian
559afd02c6 openfortivpn: add package
An open implementation of Fortinet's proprietary PPP+SSL VPN solution

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-06-28 11:56:27 +03:00