Forti VPN Ubuntu 20.04
by ozbolt from LinuxQuestions.org on (#5C191)
I use a forti VPN via a network manager plugin. It works, however it hijacks 0.0.0.0 route and then the internet stops working for me.
```
ozbolt@meta ~/Downloads> netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
0.0.0.0 192.168.7.1 0.0.0.0 UG 0 0 0 eno1
10.37.10.0 10.37.200.100 255.255.255.0 UG 0 0 0 ppp0
10.50.10.0 10.37.200.100 255.255.255.0 UG 0 0 0 ppp0
...
```
After a simple command: `sudo route del default`, all is well. I dont know however where can I set this to have it working by default.
Also, there are these lines in journalctl about routes:
```
Data: Internal Point-to-Point Address: 192.0.2.1
Data: Static Route: 10.37.10.0/24 Next Hop: 10.37.200.100
Data: Static Route: 10.50.10.0/24 Next Hop: 10.37.200.100
Data: Static Route: 0.0.0.0/0 Next Hop: 0.0.0.0
Data: Static Route: 10.37.200.100/32 Next Hop: 0.0.0.0
Data: Static Route: 192.0.2.1/32 Next Hop: 0.0.0.0
...
<info> [1608764292.5187] policy: set 'VPN' (ppp0) as default for IPv4 routing and DNS
```


```
ozbolt@meta ~/Downloads> netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
0.0.0.0 192.168.7.1 0.0.0.0 UG 0 0 0 eno1
10.37.10.0 10.37.200.100 255.255.255.0 UG 0 0 0 ppp0
10.50.10.0 10.37.200.100 255.255.255.0 UG 0 0 0 ppp0
...
```
After a simple command: `sudo route del default`, all is well. I dont know however where can I set this to have it working by default.
Also, there are these lines in journalctl about routes:
```
Data: Internal Point-to-Point Address: 192.0.2.1
Data: Static Route: 10.37.10.0/24 Next Hop: 10.37.200.100
Data: Static Route: 10.50.10.0/24 Next Hop: 10.37.200.100
Data: Static Route: 0.0.0.0/0 Next Hop: 0.0.0.0
Data: Static Route: 10.37.200.100/32 Next Hop: 0.0.0.0
Data: Static Route: 192.0.2.1/32 Next Hop: 0.0.0.0
...
<info> [1608764292.5187] policy: set 'VPN' (ppp0) as default for IPv4 routing and DNS
```