First sign-in and setup

When you open the admin UI for the first time, WAF Gateway asks you to create the admin account. This only needs to be done once.
Step 1 — Create the admin account
Open the admin UI at
http://127.0.0.1:8900on the gateway's own machine (or via an SSH tunnel from your PC).Enter a user name and a password of at least 12 characters. A few unrelated words make a strong and memorable password.
If you are opening the admin UI from another machine (not via SSH tunnel), you will also be asked for the setup token. Find it in the service log:
- Windows: the Windows Event Log
- Linux:
journalctl -u wafgateway - Docker:
docker logs wafgateway
Look for a warning that starts with "No admin account exists yet". The token works once and is replaced at every restart.
Step 2 — Turn on two-factor sign-in
Two-factor sign-in is optional on the local machine, but required for remote access. The dashboard reminds you while it is off.
- Click your user name at the top right.
- Choose Two-factor sign-in.
- Scan the QR code with an authenticator app (Microsoft Authenticator, Google Authenticator, 1Password or any TOTP app), or type the key shown under it.
- Enter the first code the app shows.
- Store the 10 recovery codes somewhere safe — each one signs you in once if you lose your phone.

Step 3 — Choose a theme and language
- Theme: the menu at the top right lets you choose Standard (FA-Soft colors, the default), System (follows your device's light/dark setting), Light or Dark. Your choice is saved with your account.
- Language: the admin UI follows your browser's language (English, Dutch, French or German). The language menu at the top right sets a fixed language for your account on every device; Browser goes back to following the browser.
Sign-in rules
| Situation | What happens |
|---|---|
| 5 wrong passwords or codes in a row | Account locked for 15 minutes |
| 10 failed attempts from one address in 15 minutes | That address is refused for 15 minutes |
| No activity for 15 minutes | Session ends |
| 8 hours after signing in | Session ends |
| Password or 2FA changed | All other sessions end |
Your login history is under Your account → Login history.
Example: opening the admin UI via SSH from your PC
If your gateway is a Raspberry Pi or a remote Linux machine:
ssh -L 8900:127.0.0.1:8900 pi@raspberrypi
Then open http://localhost:8900 in your browser on your PC.