Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The openvpn of my company is pushing about 250 routes. I can connect by the command line interface of openvpn by using max-routes 300 in the clients config file. By importing this file into nm, this setting is ignored and the connection fails due to too many routes. There is already a bug report upstream, nevertheless, I'm searching for a workaround for the few colleagues running linux. All of them run ubuntu, therefore a ubuntu-specific workaround would help.

To give some starting point, what I searched for and google was not answering is the possibility of a global configuration of openvpn options to set max-routes or the ability to give nm additional options that don't show up in the gui.

share|improve this question
I'm facing this problem too, for a workaround, do not use network-manager-openvpn. – favadi Mar 22 '14 at 2:41
@favadi: That's what I actually do, I use the openvpn CLI. Nevertheless, I still hope for a possibility to overwrite the max-routes setting somewhere in the nm to be able to use the GUI. The GUI has several benefits, e. g. it is possible to configure if the internet traffic is routet over vpn or not, which I have to do manually with the CLI (of course I could write a script, but at least I have to entirely understand the complex routing that is introduced by the openvpn connection, more than 250 routes in total, in the GUI it's just one click), and it makes my desktop less cluttered. – Chris Mar 23 '14 at 10:16
@favadi: ... (not enough space in one comment) Additionally, several colleagues just don't want to use the CLI (for whatever reason). – Chris Mar 23 '14 at 10:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.