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 720097 - Support for option max-routes
Support for option max-routes
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: VPN: openvpn
0.9.8
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks: nm-openvpn-options
 
 
Reported: 2013-12-09 10:37 UTC by Stanislav Hanzhin-Tsvetkov
Modified: 2016-08-15 09:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
max-routes patch (10.13 KB, patch)
2016-07-26 13:42 UTC, Justin Milam
none Details | Review

Description Stanislav Hanzhin-Tsvetkov 2013-12-09 10:37:09 UTC
Hello.

There is no current support for additional VPN options even if they are specified in imported .ovpn configuration file.

I need max-routes option, for example.
Comment 1 Stefan Maric 2015-02-17 16:43:16 UTC
I'm facing the same issue. Also haven't found a workaround yet.
Comment 2 Stefan Maric 2015-02-17 16:46:10 UTC
Some other users experiencing the issue:
http://askubuntu.com/questions/426055/set-max-routes-from-network-manager-openvpn
Comment 3 Mike Erickson 2015-09-18 12:50:07 UTC
I'm also facing this issue.

As a workaround, you can manually add the routes. I suggest writing a script to modify the underlying config file, though. Adding 100+ routes via the GUI would be very time consuming.
Comment 4 Justin Milam 2016-07-26 13:42:28 UTC
Created attachment 332142 [details] [review]
max-routes patch

Attached is a proposed patch to support the max-routes option to openvpn. My testing was done against a patched version of 1.2.4 on Arch Linux.
Comment 5 Evgeny Olegovich 2016-08-15 07:23:44 UTC
Same here!

Will it ever be implemented??
Comment 6 Thomas Haller 2016-08-15 09:24:28 UTC
(In reply to Justin Milam from comment #4)
> Created attachment 332142 [details] [review] [review]
> max-routes patch
> 
> Attached is a proposed patch to support the max-routes option to openvpn. My
> testing was done against a patched version of 1.2.4 on Arch Linux.

Hi Justin,

patch merged:

https://git.gnome.org/browse/network-manager-openvpn/commit/?id=c4d45e51280d5b0cb8c5e8f826d68c3262162080
https://git.gnome.org/browse/network-manager-openvpn/commit/?id=ae6de6419da3cf7f69a49b4469861a6a660806d5
https://git.gnome.org/browse/network-manager-openvpn/commit/?id=83c27454ec859f6bc69c0c3042aef743f8c9acc1


although max-routes will be deprecated with openvpn 2.4, it's not clear that's going to happen anytime soon...