After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787611 - OpenVPN configuration forces you to fill in static route gateway
OpenVPN configuration forces you to fill in static route gateway
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Network
3.24.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-13 07:31 UTC by Mildred
Modified: 2021-06-09 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
UI ask for a gateway address (39.59 KB, image/png)
2017-09-13 07:31 UTC, Mildred
Details

Description Mildred 2017-09-13 07:31:04 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.
Comment 1 Mildred 2017-09-13 07:34:00 UTC
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
Comment 2 André Klapper 2021-06-09 16:26:02 UTC
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.