WAN config file cli

Started by robertkwild, December 23, 2024, 08:27:38 AM

Previous topic - Next topic
hi all,

i would like to know when you edit the "wan interface" on the gui, what file does it edit on the cli as i would like to edit that file or cat it and make sure its not putting in a weird format in replace of my quotation marks 

thanks,
rob

OPNsense doesn't have a CLI as such. You can get a shell on the underlying operating system, but it's not meant to be used as a management interface for the firewall appliance - more for emergencies, or maybe deep debugging.

Most of the configuration is held in one large blob of XML. You can download it for examination (you should keep backup copies too) from System -> Configuration -> Backups

thanks found it and it is the correct format, thanks for that