Unrecognized command or option in openvpn_server0.conf



  • I'm not doing anything with openvpn.  Maybe I accidentally activated it somehow this morning?  Diagnostics->System Logs->OpenVPN suddenly shows:

    openvpn[304]: Options error: Unrecognized option or missing parameter(s) in /var/etc/openvpn_server0.conf:14: lport (2.0.6)
    openvpn[304]: Use –help for more information.
    openvpn[308]: Options error: Unrecognized option or missing parameter(s) in /var/etc/openvpn_client0.conf:14: remote (2.0.6)
    openvpn[308]: Use –help for more information.

    /var/etc has a bunch of files -- mostly openvpn-related -- created this morning.

    /var/etc/openvpn_server0.conf:
    writepid /var/run/openvpn_server0.pid
    #user nobody
    #group nobody
    daemon
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key
    dev tun
    proto tcp-server
    cipher
    up /etc/rc.filter_configure
    down /etc/rc.filter_configure
    lport
    ca /var/etc/openvpn_server0.ca
    cert /var/etc/openvpn_server0.cert
    key /var/etc/openvpn_server0.key
    dh /var/etc/openvpn_server0.dh

    /var/etc/openvpn_client0.conf:
    writepid /var/run/openvpn_client0.pid
    #user nobody
    #group nobody
    daemon
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key
    dev tun
    proto tcp-client
    cipher
    up /etc/rc.filter_configure
    down /etc/rc.filter_configure
    remote
    lport 1194
    ca /var/etc/openvpn_client0.ca
    cert /var/etc/openvpn_client0.cert
    key /var/etc/openvpn_client0.key

    Any ideas what this is all about?



  • Most likely related to your already wacked out configuration that always reports the xml errors.




Log in to reply