openfortivpn: fix routes passed to netifd
authorAaron Goodman <aaronjg@stanford.edu>
Sun, 16 Aug 2020 04:00:05 +0000 (00:00 -0400)
committerAaron Goodman <aaronjg@stanford.edu>
Sat, 22 Aug 2020 17:21:14 +0000 (13:21 -0400)
commit5facc084aa0240c61027e901e3af47febaa09e9a
tree5eed62754a4935689a932b7d9619aacca8a05f30
parent52ea87c5d7175825d48fbeccd0b9b608ad036bae
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>
net/openfortivpn/Makefile
net/openfortivpn/files/openfortivpn-ppp-up [new file with mode: 0755]
net/openfortivpn/files/openfortivpn.sh