Multiple NICs, VLANs & multi-WAN¶
Add USB adapters¶
Plug the adapters, then Network → Interfaces → Detected network hardware → Add as port. Commit and reboot once so the new names apply.
VLANs¶
Create an interface of type VLAN: name (vlan20), parent (port2), VLAN ID 20,
static address 192.168.20.1/24, role LAN, access ping dns dhcp. Add a DHCP server
on vlan20 and a zone (e.g. IOT) and write policies between zones:
| # | From | To | Service | Action |
|---|---|---|---|---|
| 1 | IOT | WAN | WEB, NTP | ACCEPT + NAT |
| 2 | LAN | IOT | ALL | ACCEPT |
| — | IOT | LAN | — | implicit deny |
DMZ with port forwarding¶
Put servers on port3 (role DMZ, zone DMZ), forward ports with
Port Forwarding (auto-policy on) and allow DMZ → WAN only for updates.
Multi-WAN with failover¶
- Give each WAN interface a metric: lower is preferred (e.g. fibre
port1metric 100, LTE router onport4metric 200). - Enable gateway monitoring on each WAN with a target reachable only through that link (for instance your ISP DNS) and failover.
- Write the LAN→WAN policy with the
WANzone containing both interfaces and NAT on.
When the primary link fails, fr0ntier demotes its default route, flushes conntrack so
sessions re-establish over the backup, logs gateway-down and raises the
gateway-down alert. When it recovers, the route is restored.
Note
Disable strict reverse-path filter (default) for asymmetric multi-WAN designs.