Commit graph

11 commits

Author SHA1 Message Date
Aaron Goodman
f01714a250 openfortivpn: version bump to 1.15.0 and further upgrades
- remove patch that has been included upstream
- remove dependence on resolveip
- remove hotplug script that is handled by "proto_add_host_dependency"
- use openfortivpn default tunnel ip if none specified
- add status checking with uclient-fetch

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-09-09 18:16:18 -04:00
Aaron Goodman
24b4d9edab openfortivpn: use more standard config option names
change 'server' to 'peeraddr'
change 'iface_name' to 'tunlink'

fix some indentation issues

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-26 21:55:22 -04:00
Aaron Goodman
5facc084aa openfortivpn: fix routes passed to netifd
The openfortivpn routes are a bit different than the standard ppp
routes so we need to handle them with a custom ppp-up script.

Gateway should not be set, and src should be set to the PPP local ip
address.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-22 13:21:14 -04:00
Aaron Goodman
c8a8afe8c0 openfortivpn: version bump to 1.14.1-6
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-28 23:06:09 -04:00
Aaron Goodman
f32ad35870 openfortivpn: use standard 'peerdns' argument on netifd script
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 18:54:48 -04:00
Aaron Goodman
374ac6817d openfortivpn: add option to use ither curl or ping to test host status
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>
2020-07-18 22:05:13 -04:00
Ryan Shi
ee690da794 openfortivpn: bump PKG_RELEASE
Signed-off-by: Ryan Shi <qweaszxcdfsh@gmail.com>
2020-07-04 18:28:59 +08: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