we have a router running VyattaOS 5600 5.2R5 and want to set up openvpn to access our private subnets behind that router.

Basic VPN setup was successful and connecting works as expected, but when defining push routes the tunnel interfact cannot be initialized.


interfaces openvpn vtun0 server {

First investigations showed, that the openvpn executable will be called with push routes as parameters as --push route which will be rejected by openvpn as incomplete config. Correct parameter would be --push "route".

Is this an issue on our configuration or on vyatta side? Is there a fix for this?


I found a solution by using openvpn-option to configure push routes.

Instead of running

set interfaces openvpn vtun0 server push-route


set interfaces openvpn vtun0 openvpn-option "push 'route'"

sets the route properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.