aboutsummaryrefslogtreecommitdiff
path: root/net/openfortivpn/files
Commit message (Collapse)AuthorAge
* openfortivpn: use standard 'peerdns' argument on netifd scriptAaron Goodman2020-07-19
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* openfortivpn: add option to use ither curl or ping to test host statusAaron Goodman2020-07-18
| | | | | | | | | | | allow use of curl rather than ping to test if a host is up since a host may not respond to ping, but an https request is part of the openfortivpn connection, so this is a more reliable test also clean up overly verbose logging Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* openfortivpn: Remove pingcheck and use l3_device insteadRyan Shi2020-07-02
| | | | Signed-off-by: Ryan Shi <qweaszxcdfsh@gmail.com>
* openfortivpn: avoid flash writes on pppd scriptAaron Goodman2020-06-04
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* openfortivpn: Use netifd for script rather than init scriptAaron Goodman2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* openfortivpn: add packageLucian Cristian2019-06-28
An open implementation of Fortinet's proprietary PPP+SSL VPN solution Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>