GNOME Bugzilla – Bug 796433
net_gateway not supported
Last modified: 2018-05-28 10:01:49 UTC
I tried to import a OpenVPN config with help of the buildin importfunction. Error from GUI was: Error: Key file contains line ";#ca ca.crt" which is not a key-value pair, groupor comment Error from nmcli: Error: failed to import 'Documents/vpn/sms/config.ovpn': configuration error: unsupported 3th argument net_gateway to “route” (line 10). The configfile indeed contained the argument net_gateway to "route". As far as I see it, it is currently still supported bei openvpn, a launch of the tunnel works, if called bei native openvpn. Summary: - NetworkManager should support the 'net_gateway' argument in the 'route' option. - GUI errorhandling should give the same response to this error like the nmcli.
My openvpn-configfile: ################################################################# # here some comment ################################################################# ca ca.crt cert client.crt key client.key auth-user-pass pass.txt remote sub.domain.tld 443 tcp route $some.ip.i.use 255.255.255.255 net_gateway dev tun cipher AES-128-CBC auth SHA256 resolv-retry 0 connect-retry 15 client float tun-mtu 1500 nobind persist-key persist-tun route-delay 2 reneg-sec 0 server-poll-timeout 60 redirect-gateway def1 route-method exe
- NetworkManager should support the 'net_gateway' argument in the 'route' option. bug 758702 - GUI errorhandling should give the same response to this error like the nmcli. see https://bugzilla.gnome.org/show_bug.cgi?id=790770#c1 *** This bug has been marked as a duplicate of bug 758702 ***