Admin Panel

A dark, enterprise-style web dashboard served by the ALOS WALL control plane. Watch live traffic graphs, manage protected ports, build filter rules, and maintain whitelists and blocklists, all writing straight to the running kernel maps without a restart.

Overview

The admin panel is a browser-based control surface for the ALOS WALL control plane. It gives you a live view of the firewall's state and lets you make changes that take effect immediately, with no reload, no downtime and no reattaching BPF programs.

Every action in the panel maps to a direct write into the shared BPF maps that the XDP program reads on each packet. Adding a port populates the port map. Saving a filter rule writes a new entry into the filters map. Adding a whitelist IP inserts a bypass entry. The running kernel program picks up each change on the very next packet it processes.

  • Live traffic graphs: PPS and MBps for total, passed, and dropped traffic, streamed in real time.
  • Port management: open and close protected ports, set per-port rate limits.
  • Filter rule builder: a visual interface for constructing byte-match and metadata rules.
  • Whitelist & blocklist: add or remove trusted or denied IPs with a single click.

The panel is a frontend to the same BPF maps the kernel reads, so there is no config file sync step. A change you make in the browser is live before you finish switching tabs.

Live Stats

The Live Stats section displays continuously updated graphs for the traffic the firewall is processing. Three streams are shown in parallel:

  • Total: every packet arriving at the protected interface, measured in packets per second (PPS) and megabits per second (MBps).
  • Passed: packets that cleared all checks and were forwarded to the stack.
  • Dropped: packets rejected by a rate-limit ceiling, a filter rule, or a blocklist entry.

Every decision the firewall makes is streamed to the dashboard in real time, so the graphs reflect what's happening to your traffic the moment it happens.

During an attack you will see the Total line spike while Passed holds steady and Dropped rises to match. The gap between Total and Passed is the volume the firewall is absorbing. Once the attack subsides, Dropped returns to near zero.

For live traffic graphs, what to watch for, and exporting metrics to your own monitoring, see Monitoring.

Managing Ports

The Ports section lists every port currently under firewall protection. Only traffic destined for a registered port is inspected by the filter and rate-limit layers. Unregistered ports are passed through without analysis. Add ports you are actively serving so they receive protection, and remove them when they are no longer in use.

Each port entry carries its own rate-limit ceilings independent of the global defaults. Set tighter limits on a high-value port to harden it against volumetric abuse, or raise them on a port with expected high-throughput clients.

Adding or removing a port writes directly to the port map. The XDP program reads the updated map on the next arriving packet. There is no service reload.

1

Open the Ports panel

Navigate to the Ports section in the admin panel sidebar. The current port list is shown with each port's active rate-limit settings.

2

Add the port

Click Add Port, enter the port number, and select the protocol (TCP or UDP). Both can be added separately if you serve the same port number over both transports.

3

Set per-port limits

Configure the PPS and BPS ceilings for the port. Leave them at their defaults to inherit the global rate-limit policy defined in your configuration, or override them here for port-specific behaviour.

4

Save

Click Save. The entry is written to the kernel map immediately. Traffic arriving on that port is now subject to firewall inspection and rate enforcement.

To remove a port, click the delete icon next to it in the list. The map entry is removed instantly and traffic on that port resumes passing without firewall analysis.

Adding Filter Rules

The Filter Rules section exposes a visual rule builder for constructing the byte-match and metadata conditions that the XDP program evaluates against each packet's payload and headers. Rules are scoped to a specific port and are evaluated in the order they appear.

To add a rule, select the target port, then configure the rule in the builder:

  • Condition type: choose what the condition inspects: a raw payload byte at an offset (1byte, 2byte, 4byte), a bitmask match, the total packet length, the IP TTL, or the source port.
  • Offset(s) and value(s): for byte conditions, set the byte position(s) within the payload and the hex value(s) to match against.
  • AND extra conditions: add more conditions to the same rule. All conditions in a rule must match simultaneously for the rule to fire. Use this to build precise signatures that avoid false positives.
  • Action: choose block to drop the packet, allow to pass it and skip further rules, or reset to send a TCP RST and drop.
  • Count: the number of times this rule must match within a window before the action triggers.
  • Resistance: a threshold that controls how aggressively the firewall enforces the block window after the count is exceeded.

When you click Save Rule, the entry is serialised and written to the filters map. The XDP program begins evaluating the new rule on the next packet for that port with no interruption to existing traffic.

For the full condition reference, action semantics, and worked byte-match examples, see Filters.

Whitelist & Blocklist

The Lists section manages two IP sets that the XDP program checks before any rate-limit or filter evaluation:

  • Whitelist: trusted IPs that bypass all firewall checks entirely. Traffic from a whitelisted source is passed to the stack immediately, regardless of rate limits, filter rules, or active block windows. Use this for monitoring hosts, management networks, or known-good upstream relays.
  • Blocklist: denied IPs whose traffic is dropped at the earliest possible point in the pipeline, before any further processing. Use this to hard-block known attack sources or abusive ranges.

To add an IP to either list, enter the address in the input field and click Add. To remove an entry, click the delete icon next to it. Both actions write immediately to the corresponding BPF map, and the change is enforced on the next packet from that source.

Whitelisted sources skip all enforcement including rate limits and filter rules. Only add addresses you fully control or implicitly trust.

For persistent list management and bulk imports via config file, see Configuration.

Blocked Addresses

When a source trips a rate-limit ceiling or a filter rule, it is blocked for the Block Time set on that rule. The block lifts automatically once the Block Time expires, so there's nothing to clean up by hand.

If you want bans to clear faster while you tune, set a shorter Block Time. If a rule is catching legitimate traffic, loosen its threshold or remove it. Changes apply instantly, so new traffic from that source is judged by the updated rule right away.

Accessing the Panel

The admin panel is served by the aloswall control-plane binary. When the binary starts, it binds to the configured management port and serves the dashboard over HTTP. The management port is separate from the ports the firewall is protecting and is not subject to XDP inspection.

Access is login-protected. The panel requires valid credentials before any data is displayed or any map writes are permitted. Credentials are configured during the initial setup wizard or in the ALOS WALL configuration file.

Keep the management port on a trusted or admin-only network. Binding it to a public interface exposes your firewall's configuration surface to the internet. Use a firewall rule, a VPN, or bind it to a loopback or private interface and access it over an SSH tunnel.

To start the control plane and open the panel:

bash
cd /opt/aloswall
sudo ./aloswall

Navigate to http://<management-ip>:<management-port> in a browser on your admin network. Log in with your configured credentials to access the dashboard.

Next Steps