Skip to content

8. Router and firewall

Router changes are applied with commit-confirm: after «Apply» you have a set time (5 minutes by default) to press «Confirm». If connectivity is lost and there is no confirmation, the configuration rolls back automatically. The last 50 versions are kept and you can roll back to any of them.

8.1. «Home router» wizard

Quick gateway setup: provider connection type (PPPoE, DHCP, static address), local network, DHCP server, NAT. Available in the Web UI (Router → Wizard) and the CLI (router wizard). Applied only with confirmation.

8.2. Interfaces and zones

Interface types: ethernet, VLAN, bridge, bond, PPPoE. Each interface belongs to a zone: wan (provider) or lan (local network). Addressing: none, DHCP or static; IPv6 — DHCPv6-PD, SLAAC, static or delegated prefix.

8.3. DHCP, DNS, NAT, firewall

  • DHCP — pools, MAC reservations, options; leases are shown in «Devices».
  • DNS — caching resolver for the LAN, own records, ad blocking, query log.
  • NAT — masquerading and port forwarding.
  • Firewall — rules for the forward and input chains: accept, drop or reject; interface or zone; address, network or address list (@name), negation «!»; schedule.
  • Address lists — named sets of IPs and networks for rules.

8.4. Multiple providers and QoS

Multi-WAN: failover or balance mode with priorities and weights; links are checked by pinging target addresses. QoS: a CAKE shaper per interface and queues for traffic prioritization.

8.5. Filtering and parental control

Block services (social networks, messengers, games) by domains and networks for selected devices, with a schedule (for example, evenings and nights). DNS-level ad blocking for the whole network.

8.6. Devices and traffic

Network device list (name from DHCP, IP, MAC, vendor), interface traffic charts and per-device usage; new-device notification; device blocking.

8.7. VPN

Type Use How to connect
WireGuard Fast VPN for own devices and site-to-site Profile or QR code from the Web UI or bot
OpenVPN Compatibility, restrictive networks .ovpn profile file
IPsec IKEv2 Built-in client on iOS, macOS, Windows .mobileconfig profile or manual setup
L2TP/IPsec Legacy devices Username, password and pre-shared key

VPN password guessing is tracked: addresses with repeated failures are blocked.

8.8. IDS/IPS (Suricata)

Suricata inspects all transit through the provider: infected devices talking to command-and-control servers, miners, exploits, scanners, known bad addresses. HTTPS is not decrypted — metadata (SNI, JA3) is analyzed.

  • Detect — log and notifications only;
  • Block (IPS) — rules of the selected sets drop traffic; if Suricata fails, traffic continues (fail-open).

ET Open rule sets are chosen in the settings; false positives are disabled by SID. Suricata's memory limit is 40% of VM memory, but at least 2 GB is left for the WAF.

8.9. Dynamic routing

OSPFv2 and BGP (IPv4) based on FRR: OSPF areas and interfaces, BGP neighbors, announced networks. Neighbor state is in the Web UI and in show ip ospf neighbor, show bgp summary.

8.10. High availability (HA)

Two appliances form a pair with a shared virtual address (VRRP). If the active node fails, the address moves to the standby node. The WAF configuration is synchronized automatically.