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

    OpenVPN broke due to ncp-disable

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    3 Posts 2 Posters 8.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.
    • A
      ahardwick
      last edited by

      I just installed the latest build (2.7.0.a.20230322.0600) and it broke OpenVPN. After looking at the logs the issue was with the ncp-disable command which is no longer supported in OpenVPN:

      Options error: Unrecognized option or missing or extra parameter(s) in /var/etc/openvpn/server1/config.ovpn:37: ncp-disable (2.6.0)

      Removing references to ncp-disable / enable in config.xml, config.ovpn and removing the config.cache (which rebuilt on reboot) resolved the issue. The service now starts and clients can connect.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Can you open a redmine issue for that?

        https://redmine.pfsense.org/projects/pfsense/issues

        Now that 2.7.0 snapshots have OpenVPN 2.6.0 there are likely several changes we need to make, some of which we already have on Plus because that's been on OpenVPN 2.6.0 for a while now.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          I looked things over and it does appear to just be NCP that needs taken out.

          I created https://redmine.pfsense.org/issues/14201 to take care of that.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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