Quick start: from zero to the first rule
This path takes you from an empty server to a rule that is live on a firewall, in about half an hour. Each step names what you should see.
- Install. Follow Installation from the release bundle. When
docker compose up -dhas finished,docker compose pslists all services as healthy (the first start can take a few minutes while the database is created). - Get the admin password. Run
./opnexus password. It prints a new random password once; note it down. - Sign in. Open
https://localhost(or the server's address, once you have set it, see Network access and TLS). The browser warns about the certificate until you have imported the internal CA; that is expected. After signing in, the setup assistant opens (see The setup assistant). - Create an API key on the firewall. In OPNsense under System › Access › Users, create a dedicated user and click the plus under API keys; the browser downloads a file with the key and the secret. Give the user the privileges it needs (simplest: the group
admin). Creating an API key in OPNsense shows the steps and which privileges the user needs. - Connect the firewall. In the assistant (or under Overview › Hosts), enter name, address, key and secret, click Fetch certificate and confirm the fingerprint. You should see the firewall online right after saving. If it says offline, the message names the reason (see Adding a host).
- Create a rule. Under Policy › Rules, click New rule, fill in interface, action, source, destination and port, and choose the firewall as target. Save as draft; no firewall is touched yet.
- Review and deploy. Click Review & push. The preview shows the new rule per firewall as a field comparison. Click deploy. The rule is now active on the firewall, on probation.
- Confirm. Within 180 seconds, click Confirm. The rule shows the state Deployed. If you do nothing, OPNexus removes the rule again by itself: this is the safety net that keeps a wrong rule from locking you out.
Next steps
- Group firewalls and share rules across them: Device groups.
- Let colleagues in with limited rights: Users, roles and login.
- Be told when something is wrong: Notifications.
- Set up backups and updates: Firewall backups and Update Center.