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

    [SOLVED] Open VPN Server daemon not starting

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.1k 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.
    • B
      Bambos
      last edited by Bambos

      Dear Community members,

      i have a pfsense 2.6 device mostly used for open VPN Server tunnels for site to site.
      When adding new open vpn server instance, i have the error unable to contact daemon , service not running ?

      897f7b8c-aa0a-4648-80e0-c15748d07fb9-image.png and after starting the service with play button it doesn't start.

      2bb0b9eb-d694-4f82-9528-34640237d9aa-image.png

      on another pfsense with the same settings, is able to start the instance successfully, so something is wrong with the specific pfsense. There are 12 other VPN Server instances running on different ports without problem.

      d606d481-d885-4cbf-a53a-d4ee28296510-image.png

      Open VPN System logs

      Mar 26 23:42:03 openvpn 38526 Exiting due to fatal error
      Mar 26 23:42:03 openvpn 38526 Non-Hex character ('G') found at line 8 in key file '/var/etc/openvpn/server7/secret' (48/128/256 bytes found/min/max)
      Mar 26 23:42:03 openvpn 38526 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
      Mar 26 23:42:03 openvpn 38496 library versions: OpenSSL 1.1.1l-freebsd 24 Aug 2021, LZO 2.10
      Mar 26 23:42:03 openvpn 38496 OpenVPN 2.5.4 amd64-portbld-freebsd12.3 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Jan 12 2022
      Mar 26 23:42:03 openvpn 38496 Cipher negotiation is disabled since neither P2MP client nor server mode is enabled

      any comments appreciated !

      R 1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @Bambos
        last edited by rcoleman-netgate

        @bambos said in Open VPN Server daemon not starting:

        Mar 26 23:42:03 openvpn 38526 Non-Hex character ('G') found at line 8 in key file '/var/etc/openvpn/server7/secret' (48/128/256 bytes found/min/max)

        There's your reason. Check your key.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        B 1 Reply Last reply Reply Quote 1
        • B
          Bambos @rcoleman-netgate
          last edited by

          @rcoleman-netgate Hello Sir,
          Yes, i make some trial and error and i notice that the issue comes when i let pfsense generate the shared key !

          While i use another vpn instance already existing with copy , and edit the settings, is working !
          Also this is happening on the client side ! both pfsense on 2.6 version.

          Is this a bug or i'm doing something wrong ? I just exchanging the generated key with copy paste. If generated on server, client is not accepting it and cause this error. If key generated on client, and copy to server, server gets the error !

          I will try 2-3 things and let you know.

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