GNOME Bugzilla – Bug 787611
OpenVPN configuration forces you to fill in static route gateway
Last modified: 2021-06-09 16:26:02 UTC
Created attachment 359691 [details] UI ask for a gateway address I have an OpenVPN configuration where instead of routing all the traffic through the VPN, I have only a selected number of IP addresses that are configured to pass through. Instead of including redirect-gateway def1 I have instead a number of: route 1.2.3.4 255.255.255.255 Which means: route traffic going to 1.1.1.1/32 through the VPN. When importing such configuration in the OpenVPN dialog of the control center, I get the configuration shown in attached picture: The routes are correctly filled in the interface, but the gateway address is marked as required. I would expect the import file to work strainght away because the file itself is working in command line with openvpn --config <file> Additionally, I don't see the option enabled that tells OpenVPN not to make all traffic go through the VPN. I suggest that in case the imported VPN file cannot be represented properly using the GUI configuration dialog, you use the config file provided as it is and provide no way to tweak manually the settings.
The OpenVPN config file contains roughly: client nobind dev tun remote-cert-tls server remote vpn.name 1194 udp <key> ... </key> <cert> ... </cert> <ca> ... </ca> <tls-auth> ... </tls-auth> key-direction 1 route 1.2.3.4 255.255.255.255 route 2.3.4.5 255.255.255.255 route 3.4.5.6 255.255.255.255
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new bug report at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/ Thank you for your understanding and your help.