Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unrecognized command or option in openvpn_server0.conf

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 5.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rcarr
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • R
          rcarr
          last edited by

          Or this…

          http://forum.pfsense.org/index.php/topic,4594.0.html

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.