Managing the backend daemons
The OPNsense architecture is composed of a frontend and a backend. In the next chapter, we will explore OPNsense's architecture to learn how to use its Application Programming Interface (API). For now, let's say that the backend is the part that interacts with the system daemons, and eventually, you may want to change some daemon states by stopping, starting, or restarting using it. The service in charge of interacting with daemon states and also writing its configuration file is configd
. To manage the configd
service with the CLI, we can use the configctl
command:
root@bluebox:/tmp # configctl -h usage: configd_ctl.py [-h] [-m] [-e] [-d] [-q] [-t T] command [command ...] positional arguments: command command(s) to execute optional arguments: -h, --help show this help message and exit -m execute multiple arguments...