Attempting to configure a remote access OpenVPN server. Coming from 1.1.8 this configuration worked correctly (openvpn was <2.4.0)
Now with version 2.4.0 of OpenVPN, when you attempt to push a configuration to an OpenVPN client, the openvpn '--push' command only expects one argument. In version 2.3.0 it didn't complain about this, but now it does. The following command (in openvpn) is considered invalid:
--push route 184.108.40.206 255.255.255.255
The following command is the correct command:
--push "route 220.127.116.11 255.255.255.255"
So if you try to apply:
set interface openvpn vtun1 openvpn-option "--push "route 18.104.22.168 255.255.255.255""
It will tell you the configuration path is invalid. If you try to escape out the inner set of quotes, it will give an error stating you cannot use double quotes inside a value string.
I've also tried this with single quotes with the same result. You cannot use single or double quotes within a value string.
The following error shows if you try to add the --push option without the inner set of quotes:
openvpn-vtun1: Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: push (2.4.0)
openvpn-vtun1: Use --help for more information.