Diagnostic step 1
Do not change device firmware during troubleshooting. Backup current router configuration export before edits.
Generated Oct 3, 2026, 12:35:03 AM
Do not change device firmware during troubleshooting. Backup current router configuration export before edits.
On the router, inspect persistent NAT rules: iptables -t nat -S (or equivalent nft list ruleset). If missing, add a persistent MASQUERADE rule for 192.168.20.0/24 and commit/save the configuration (e.g., add to config.boot on EdgeRouter).
Check firewall forwarding policies for the VLAN20 interface and ensure forwarding to the WAN zone is allowed; test by temporarily allowing wide-open forwarding then tighten once working.
Verify switch uplink expects tagged frames for both VLANs. If using an unmanaged switch, move the IoT devices and the router to a dedicated access port or replace with a managed switch supporting 802.1Q trunks, or configure the router to use untagged ports consistently.
Reproduce the failure after a controlled reboot: reboot router to confirm rules persist. If NAT disappears on reboot, ensure the change is saved in the router's persistent config rather than applied only at runtime. Document the change so it can be rolled back easily if needed; keep a console connection available if you need to restore remote access after changes (avoid locking yourself out). If hardware/firmware limitations are suspected, escalate to vendor support for router/switch firmware guidance.