Advanced customization
The OPNsense webGUI is a powerful configuration tool, and you rarely need to change or customize the OPNsense configuration while using the CLI. Still, it can happen, and it is essential to know which tools we can count on for doing this task.
The config.xml
file is the webGUI's generated XML configuration file, it is where the OPNsense configuration file resides.
Customizing the XML configuration file
All configurations generated by webGUI through the OPNsense framework are saved in /conf/config.xml
.
Note
Before modifying the config.xml
file, always make a backup copy! Editing this file can crash your OPNsense installation, so take caution!
The following is an example where the manual editing of the config.xml
file could help.
This is an example showing the substitution of OPNsense hardware. Let's suppose that you need to replace the OPNsense hardware, and the new one uses a different network card, which means changing the Network...