When running sudo nmcli connection import type openvpn file ~/Downloads/<user>.ovpn
I get the following output
Error: failed to import '/home/llamagod/Downloads/LlamaServe.ovpn': configuration error: invalid 1th argument to “proto” (line 5).
Upon inspecting the file, I see the following header
client
remote <server-url> 1194
proto udp
proto udp6
dev tun
nobind
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
redirect-gateway
verb 3
After deleting the line proto udp6
the command completes successfully and I can add the configuration. Though I haven’t left my private network to test it.
Is this a bug? or am I doing something wrong when generating the config?
which of the two lines should I keep if one does have to go ?