Hi all,
Just getting to grips with OPNSense after a long time with pfSense, mainly due to the view that it will have a full API for all features at some point in the future.
I am trying to figure what breaks and gets overwritten if I start messing with .conf files for services or stuff like interfaces etc. Do I edit the /conf/config.xml file? Do I edit files directly?
Initially, I just want to add new interfaces/IP addresses by *not* using the GUI. Am I best using confctl (if so, how), as I cannot see anything in the API to do this yet?
Any pointers are appreciated.
Reviving the post...
I would like to setup the following through CLI:
- Create a VLAN
- Assign/Create an Interface
- Setup CARP
- Create aliases
- Configure firewall rules
- Configure outgoing NAT
- Install FRR
- Enable FRR config replication
- Setup BGP
- Setup BFD
Is configctl the tool for the task?