I'm running ubuntu linux on which I try to connect to openvpn server. I tried network gui and also connect from command line, but I always get this error:
/sbin/ip route add 10.0.8.9/32 via 192.168.8.0
Error: Nexthop has invalid gateway.
I'm using client.ovpn config:
proto tcp-client
remote example.com 1194
dev tun
nobind
persist-key
ca ca.crt
cert client.crt
key client.key
tls-client
remote-cert-tls client
ping 10
verb 3
cipher AES-256-CBC
auth SHA1
pull
auth-user-pass
auth-nocache
route 10.0.8.9 255.255.255.255 192.168.8.0
I can successfully connect on windows machine. How to fix this error on linux?