Created
January 22, 2018 20:57
-
-
Save jonathlt/764e78b617f69e72ec09e984281e3741 to your computer and use it in GitHub Desktop.
Set max routes in openvpn network manager on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OpenVPN network manager does not currently have the setting for max-routes in the GUI | |
The solution to the problem is to rename the openvpn executable and call it from a script with parameters appended | |
sudo mv /usr/sbin/openvpn /usr/sbin/openvpnm | |
add the following to a new openvpn file: | |
#!/bin/sh | |
/usr/sbin/openvpnm --max-routes 500 "$@" | |
chmod +x /usr/sbin/openvpn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awesome - thank you so much!