Bug 361268

Summary: can't enter "vpn_gateway" or "net_gateway" in openvpn route config
Product: [Applications] systemsettings Reporter: Bas Zoetekouw <bas>
Component: kcm_networkmanagementAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bas Zoetekouw 2016-04-01 09:58:20 UTC
When manually specifying routes, OpenVPN allows special keywords "vpn_gateway", "net_gateway" and "remote_host" for the the remote vpn endpoint address, the pre-existing net gateway, and the remote client address.  
However, in the route configuration windows in the connection editor (IPv4-->Routes), only plain ip addresses are allowed.  

Please also allow these three keywords to be entered.

Reproducible: Always

Steps to Reproduce:
see above

Actual Results:  
see above

Expected Results:  
see above
Comment 1 Jan Grulich 2016-04-04 10:22:57 UTC
Unfortunately this doesn't seem to be possible to set through NetworkManager-OpenVPN plugin. The IPv4 tab is generic for all connection types so you should be looking for those options in OpenVPN configuration, however as I said, NM doesn't allow to specify those properties.