Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Repository files navigation

pfSense to OPNSense Config File Converter

Used to convert a pfSense configuration backup to OPNSense

Other

  • 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.

Description

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

Getting Started

  1. Extract the zip file
  2. Backup your pfSense installation, do not backup package information (not converted so not needed)
  3. Copy pfSense configuration file to working folder named pfSense.xml
  4. Run the executable
  5. For Windows just run as is
  6. 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
  7. Follow the prompts
  8. Install OPNSense
  9. Skip the first run wizard in OPNSense
  10. Restore the OPNSense config file you just generated
  11. Celebrate

Dependencies

  • pfSense configuration backup file

Authors

Contributors names and contact info

Shaun McCloud https://smccloud.com

Version History

  • 0.1
    • Initial release, there may (probably are) bugs

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

About

No description, website, or topics provided.

Resources

Stars

19 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages