[NOTE] Decrypt #pfsense #firewall exported config file

Nov 04, 2020

If you exported and saved pfsense configuration, by using following command you can decrypt pfsense exported configuration provided you remember the password.

cat /tmp/config-exported.xml | sed -e '1d' -e '$d' | base64 -d | openssl enc -d -aes-256-cbc -md md5 -out config.xml

Because on next step, it will ask for decryption password :-)