Imported OpenVPN file import creates connection incorrectly
OpenVPN file works when used with OpenVPN command line without issue setting up the following routes:-
ip route
10.9.0.0/16 via 10.11.0.5 dev tun0
10.11.0.1 via 10.11.0.5 dev tun0
10.11.0.5 dev tun0 proto kernel scope link src 10.11.0.6
10.110.0.2 via 10.11.0.5 dev tun0
10.110.60.0/24 via 10.11.0.5 dev tun0
10.110.61.0/24 via 10.11.0.5 dev tun0
10.110.62.0/24 via 10.11.0.5 dev tun0
10.110.65.0/24 via 10.11.0.5 dev tun0
10.110.66.0/24 via 10.11.0.5 dev tun0
10.110.67.0/24 via 10.11.0.5 dev tun0
10.110.68.0/24 via 10.11.0.5 dev tun0
default via 192.168.1.1 dev wlp3s0 proto static metric 600
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.3 metric 600
But when nmcli is used to connect to VPN connection created by importing the same openVPN file the routes are different and the VPN does not work:-
ip route
0.9.0.0/16 via 10.11.0.5 dev tun0 proto static metric 50
10.11.0.1 via 10.11.0.5 dev tun0 proto static metric 50
10.11.0.5 dev tun0 proto kernel scope link src 10.11.0.6 metric 50
10.110.0.2 via 10.11.0.5 dev tun0 proto static metric 50
10.110.60.0/24 via 10.11.0.5 dev tun0 proto static metric 50
10.110.61.0/24 via 10.11.0.5 dev tun0 proto static metric 50
10.110.62.0/24 via 10.11.0.5 dev tun0 proto static metric 50
10.110.65.0/24 via 10.11.0.5 dev tun0 proto static metric 50
10.110.66.0/24 via 10.11.0.5 dev tun0 proto static metric 50
10.110.67.0/24 via 10.11.0.5 dev tun0 proto static metric 50
10.110.68.0/24 via 10.11.0.5 dev tun0 proto static metric 50
54.79.54.xxx via 192.168.1.1 dev wlp3s0 proto static metric 600
default via 192.168.1.1 dev wlp3s0 proto static metric 600
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.3 metric 600
192.168.1.1 dev wlp3s0 proto static scope link metric 600
I have another OPenVPN config file that works fine but this one does not. I have attached the failing VPN conf file but have removed the private cert from it for security reasons.