OpenVPN 4.0.3 - Options error: No closing quotation

  • Hi,

    Plugin version: 4.0.3

    OpenVPN is not starting. In syslog i see: "Options error: No closing quotation (") in /etc/openvpn/server.conf:12"
    In /etc/openvpn/server.conf i see:
    push "route"
    (with LF char after 1st ip.)

    I made some checking and it looks like in "/usr/share/openmediavault/mkconf/openvpn" there is funtion get_subnet which is executing: "ip r s | grep -Ev default | grep ${1} |cut -d/ -f1"
    Problem is that "ip r s" on my enviroment return:

    default via dev enx001e0630d103 dev enx001e0630d103 scope link metric 1000 dev enx001e0630d103 proto kernel scope link src

    As a result of get_subnet funtion we get 2 ips (each in new line).

    So I think this is source of the issue.

    So question is:
    Is there some problem with my ethernet interface configuration or problem is with lack of handling of few ips on one interface in "/usr/share/openmediavault/mkconf/openvpn" script?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!