[NOTE] Decrypt #pfsense #firewall exported config file

Krishnendu Paul

Nov 4, 2020 1 min read

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 :-)

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.