I got a
.ovpn file from our "network guy".
I tried to import it to NetworkManager, but that didn't work:
$ sudo nmcli connection import type openvpn file ~/.ssh/foo.ovpn
The connection appeared in the UI, but can't connect.
So I tried connecting on a command line:
sudo openvpn --config ~firstname.lastname@example.org
This works. Although, all traffic goes through that VPN. The only thing that resembles the option "Only use this connection for it's traffic" in NetworkManager's UI is
route remote_host, but
openvpn complains about it, so I had to comment it out.
- How can I change the routing in the
- Where is the reference manual for the
Here's a part of that file:
client dev tun proto tcp remote *** 20443 verify-x509-name "..." #route remote_host 255.255.255.255 net_gateway resolv-retry infinite nobind persist-key persist-tun auth-user-pass cipher AES-256-CBC auth SHA256 comp-lzo no route-delay 4 verb 3 reneg-sec 0 <ca> ...