Currently in Ubuntu 16.04 network-manager-openvpn does not support the openvpn --max-routes switch.
This means that per omission the VPN connection supports 100 routes that can be pushed by the openvpn server to the client. If the openvpn server pushes more 100 routes, which can happen in some cases, the VPN establishment fails.
From OpenVPN manual:
"--max-routes n
Allow a maximum number of n --route options to be specified, either in the local configuration file, or pulled from an OpenVPN server. By default, n=100."
Can you do one of the following?
- Fully support max-routes in the GUI, with an option to choose the value of the max-routes
or, simpler:
- Do not implement the max-routes in the GUI but add '--max-routes 500' for example for all openvpn connection establishments. I mean increase the number of maximum routes for all openvpn connections with network-manager.
Hi,
Currently in Ubuntu 16.04 network- manager- openvpn does not support the openvpn --max-routes switch.
This means that per omission the VPN connection supports 100 routes that can be pushed by the openvpn server to the client. If the openvpn server pushes more 100 routes, which can happen in some cases, the VPN establishment fails.
From OpenVPN manual:
"--max-routes n
Allow a maximum number of n --route options to be specified, either in the local configuration file, or pulled from an OpenVPN server. By default, n=100."
Can you do one of the following?
- Fully support max-routes in the GUI, with an option to choose the value of the max-routes
or, simpler:
- Do not implement the max-routes in the GUI but add '--max-routes 500' for example for all openvpn connection establishments. I mean increase the number of maximum routes for all openvpn connections with network-manager.
There is also a gnome bugzilla related to this issue which was recently closed with a patch: https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 720097
When can we have the max-route implementation on network- manager- openvpn in ubuntu?
mm:~$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
mm:~$ apt-cache policy network- manager- openvpn manager- openvpn: pt.archive. ubuntu. com/ubuntu xenial/universe amd64 Packages dpkg/statusThan ks,
network-
Installed: 1.1.93-1ubuntu1
Candidate: 1.1.93-1ubuntu1
Version table:
*** 1.1.93-1ubuntu1 500
500 http://
100 /var/lib/
mm:~$ apt-cache policy network- manager- openvpn- gnome manager- openvpn- gnome: pt.archive. ubuntu. com/ubuntu xenial/universe amd64 Packages dpkg/status
network-
Installed: 1.1.93-1ubuntu1
Candidate: 1.1.93-1ubuntu1
Version table:
*** 1.1.93-1ubuntu1 500
500 http://
100 /var/lib/
mm:~$ apt-cache policy openvpn pt.archive. ubuntu. com/ubuntu xenial/main amd64 Packages dpkg/status
openvpn:
Installed: 2.3.10-1ubuntu2
Candidate: 2.3.10-1ubuntu2
Version table:
*** 2.3.10-1ubuntu2 500
500 http://
100 /var/lib/
Regards,
Marco