Adding Client configuration results in automatic "restored config". Added, logs show connection
-
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?
-
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¤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,