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

    Adding Client configuration results in automatic "restored config". Added, logs show connection

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 593 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.
    • iorxI
      iorx
      last edited by

      Version 2.4.4_2

      Adding Client configuration results in automatic "restored config"-message and /vpn_openvpn_client.php: XML error: Undeclared entity error at line 3461 in /conf/config.xml

      If I check the logs the newly created Client shows that the config has reached OpenVPN and is connecting. Client config not visible under Status/OpenVPN or under Open/Clients.

      System log:

      Feb 14 23:26:11 	php-fpm 		/vpn_openvpn_client.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1550183040.xml
      Feb 14 23:26:11 	php-fpm 		/vpn_openvpn_client.php: pfSense is restoring the configuration /cf/conf/backup/config-1550183040.xml
      Feb 14 23:26:11 	php-fpm 		/vpn_openvpn_client.php: XML error: Undeclared entity error at line 3461 in /conf/config.xml
      

      This a bug?

      I'm going to revert back to config before trying to add Client-configs because now I have multiple, not showing, OpenVPN Client-configs connecting.

      Any one encountered similar problem? Any fix for this?

      1 Reply Last reply Reply Quote 0
      • iorxI
        iorx
        last edited by iorx

        SOLVED

        Do NOT use the character "¤"

        ¤
        

        in the password field. This makes pfsense create a config.xml.bad and revert to a previous version of the config.

        OpenVPN files under /var/etc/OpenVPN are created and active until reboot of pfsense.
        Newly created entry not shown in Services or Status, but still connecting in the background.

        My config.xml.bad, Under OpenVPN client section:

        <auth_pass>zYdfrJn&curren;bE</auth_pass>
        

        Using a password not containing "¤" does work, entry is created and functional.

        Anywhere said that password shouldn't contain strange characters? If not, this looks like a bug to me.

        Brgs,

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