NM passes no traffic over ppp with openfortivpn 1.21.0
Slackware current (15.0+)
If I use Network Manager with plugin networkmanager-fortivpn the connection is establish but no traffic pass over the ppp interface. If I use openfortivpn direct (command line) the connection work without problem
Using the command line the configuration is different than using the Network Manager graphical interface.
Using command line:
bash-5.2$ sudo openfortivpn rr.rr.rr.rr:10443 -u uuuuuuuuu x --trusted-cert cccccccccccccccccccccccccccccccccccccccccccc
VPN account password:
INFO: Connected to gateway.
INFO: Authenticated.
INFO: Remote gateway has allocated a VPN.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
INFO: Got addresses: [xx.xx.xx.xx], ns [yy.yy.yy.yy, zz.zz.zz.zz]
INFO: Negotiation complete.
Cannot determine ethernet address for proxy ARP
local IP address xx.xx.xx.xx
remote IP address rr.rr.rr.rr
INFO: Interface ppp0 is UP.
INFO: Setting new routes...
INFO: Adding VPN nameservers...
INFO: Tunnel is up and running.
root@ger04:# ip route
default via ii.ii.ii.ii dev eth1 proto dhcp src nn.nn.nn.nn metric 100
aa.aa.aa.aa dev ppp0 scope link
bb.bb.bb.bb dev ppp0 scope link
cc.cc.cc.cc dev ppp0 scope link
dd.dd.dd.dd dev ppp0 scope link
ee.ee.ee.ee dev ppp0 scope link
ff.ff.ff.ff dev ppp0 scope link
gg.gg.gg.gg dev ppp0 scope link
hh.hh.hh.hh dev ppp0 scope link
ii.ii.ii.ii dev ppp0 scope link
jj.jj.jj.jj dev ppp0 scope link
kk.kk.kk.kk dev ppp0 scope link
127.0.0.0/8 dev lo scope link
rr.rr.rr.rr via ll.ll.ll.ll dev eth1
ll.ll.ll.0/24 dev eth1 proto kernel scope link src nn.nn.nn.nn metric 100
root@ger04:#
and no problem access the remote devices (aa.aa.aa.aa ....... kk.kk.kk.kk)
Using Network Manager plugin:
root@ger04:~# ip route
default dev ppp0 proto static scope link metric 50
default via ll.ll.ll.ll dev eth1 proto dhcp src nn.nn.nn.nn metric 100
aa.aa.aa.aa via vv.vv.vv.vv dev ppp0 proto static metric 50
bb.bb.bb.bb via vv.vv.vv.vv dev ppp0 proto static metric 50
cc.cc.cc.cc via vv.vv.vv.vv dev ppp0 proto static metric 50
dd.dd.dd.dd via vv.vv.vv.vv dev ppp0 proto static metric 50
ee.ee.ee.ee via vv.vv.vv.vv dev ppp0 proto static metric 50
ff.ff.ff.ff via vv.vv.vv.vv dev ppp0 proto static metric 50
gg.gg.gg.gg via vv.vv.vv.vv dev ppp0 proto static metric 50
hh.hh.hh.hh via vv.vv.vv.vv dev ppp0 proto static metric 50
ii.ii.ii.ii via vv.vv.vv.vv dev ppp0 proto static metric 50
jj.jj.jj.jj via vv.vv.vv.vv dev ppp0 proto static metric 50
kk.kk.kk.kk via vv.vv.vv.vv dev ppp0 proto static metric 50
127.0.0.0/8 dev lo scope link
rr.rr.rr.rr dev ppp0 proto kernel scope link src vv.vv.vv.vv
rr.rr.rr.rr via ll.ll.ll.ll dev eth1 proto static metric 50
rr.rr.rr.rr dev ppp0 proto kernel scope link src vv.vv.vv.vv metric 50
ll.ll.ll.0/24 dev eth1 proto kernel scope link src nn.nn.nn.nn metric 100
ll.ll.ll.ll dev eth1 proto static scope link metric 50
Is not possible to access the remote devices.
Edited by Andre Klapper