I got myself a mercusys mr80x v3.0 decent CPU, heaps of ram for the weight class. I had envisioned 3 modes of operation for it
1- during normal operation, port 1 would be connected to a main router/firewall, port 2 and 3 (and maybe 4) would be ports dedicated to VLANs. Since the devices downstream are not necessarily Vlan aware, each port would have to look like a completely normal distinct network, no VLAN tags after leaving the mr80x. At least 2 SSIDs would also be related to those VLANs with the same restriction of no VLAN tags leave the mr80x. In this mode, the radios should also be listening to a specific SSID, if it connects sucesfully the mr80x becames a WAN source for the main firewall, either through the 4th port or through a single cable solution Gemini suggesteded that I will list later.
2- firewall failure backup mode. If my main firewall fails, for whatever reason, it should be able to switch modes and become a proper router such that I can just connect the cable coming from the ISP box in bridge mode to it, and it maintains the same VLANs structure as the main firewall had dictated before failure to all the devices downstream from it (with exception of some SSIDs whose associated VLANs are routed through a VPN (like proton) by the main firewall). It should still keep listening to that SSID from the first mode, and use the network as a secondary WAN source.
3-travel router mode. When I'm not gonna be home for a bit and most VLANs become unecessary, I can just connect my main firewall to a dumb switch and take the mr80x with me. In this mode it will act as a tunnel via wireguard back to the main firewa for any device connected to it. Port 1 will always be the WAN port, and configuring an external wireless network as a wan source should be easy enough.
That's quite a bit to take in, but Gemini gave 2 main suggestion to make it work.
1 - tag the backup ssid from mode 1 with a VLAN, and have the main firewall use that VLAN as a WAN source. That way only a single cable is needed between the mr80x and the firewall (no clue if this is a good idea reliability or security wise).
2- have the WPS button act as the mode change switch. When pressed, either long pressed, or after a succession of presses, idk, a script will swap config files and reload/restart the necessary componentes. LED would also reflect in some way the current mode of operation.
The porpuse of the thread is really just to get this sanity checked and/or receive suggestions. It will be my first time experiencing openWRT and VLAN aware equipment, so hopes and dreams are high but may not be feasible, idk.