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

    Unable to create a peer

    WireGuard
    3
    4
    718
    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.
    • S
      skplus
      last edited by

      Hello,

      Very much thanks to Netgate for implementing WireGuard feature.

      I just upgraded my pfSense appliance to version 2.5.0.a.20210119.2350 and trying to configure WireGuard VPN, but during peer creating an error occurs: "pfSenseConfigurator: pfSense is restoring the configuration /cf/conf/backup/config-1611164874.xml @ 2021-01-20 20:57:20".

      I tried to check system logs, but only noticed the following messages:

      Jan 20 20:57:20	php-fpm	76421	/vpn_wg_edit.php: XML error: XML_ERR_NAME_REQUIRED at line 1585 in /conf/config.xml
      Jan 20 20:57:20	php-fpm	76421	/vpn_wg_edit.php: pfSense is restoring the configuration /cf/conf/backup/config-1611164874.xml
      Jan 20 20:57:20	php-fpm	76421	/vpn_wg_edit.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1611164874.xml
      

      Would be glad to hear ideas on how to fix this. Sorry for possible typos and mistakes, because English is not my native language. Thanks!

      T dennis_sD 2 Replies Last reply Reply Quote 0
      • T
        tirsojrp @skplus
        last edited by

        @skplus same here, be careful. On reboot I lost interfaces assignation and had to restore from a previous config.

        S 1 Reply Last reply Reply Quote 2
        • S
          skplus @tirsojrp
          last edited by

          @tirsojrp thank you for the info. I just created configuration backup and tried to remove wg tunnel and got a crash. It seems we need to wait a bit more until this component will be fixed.

          Crash report begins.  Anonymous machine information:
          
          amd64
          12.2-STABLE
          FreeBSD 12.2-STABLE 0db1c74e0d8(devel-12) pfSense
          
          Crash report details:
          
          PHP Errors:
          [20-Jan-2021 21:50:40 Europe/...] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /etc/inc/web/wg.inc on line 273
          
          No FreeBSD crash data found.
          
          1 Reply Last reply Reply Quote 0
          • dennis_sD
            dennis_s @skplus
            last edited by

            @skplus This looks to be the same thing our engineers were seeing in testing. The description here isn't the exact same, but the root cause is believed to be the same. This should be fixed in the latest snap.

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