Used to convert a pfSense configuration backup to OPNSense
- For everyone that has stared this, please use issues to list items you wanted converted. otherwise I'm going to go in a random order that makes no sense.
This project was started due to Netgate's decision to remove the free home & lab pfSense+ licensing that I was running. I could convert my home pfSense+ instance to OPNSense without issue, but I have multiple ones to do so I figured I'd work on automating it and hope others can benefit from it.
-
Known working items
- Interfaces (WAN, LAN, OPT(1-9))
- Users, prompts for password, asks to convert admin to root
- DHCP servers, including static leases (LAN, OPT(1-9))
- Filters
- NAT
- Basic system data
- Default dashboard
- Default sysctl values
-
Known items to work on (not a priority list)
- VLANs
- OpenVPN
- IPSEC
- Aliases
- LAGGs
- Extract the zip file
- Backup your pfSense installation, do not backup package information (not converted so not needed)
- Copy pfSense configuration file to working folder named pfSense.xml
- Run the executable
- For Windows just run as is
- For Linux or macOS follow below 1. Run chmod +x pfSense-to-OPNSense-Config-File-Converter to make executable 2. Execute with ./pfSense-to-OPNSense-Config-File-Converter
- Follow the prompts
- Install OPNSense
- Skip the first run wizard in OPNSense
- Restore the OPNSense config file you just generated
- Celebrate
- pfSense configuration backup file
Contributors names and contact info
Shaun McCloud https://smccloud.com
- 0.1
- Initial release, there may (probably are) bugs
This project is licensed under the MIT License - see the LICENSE.txt file for details