I would like to know whether the following configuration is possible with a hEX:
ether1 is connected to an existing 192.168.200.0 subnet
ether2-4 works as a switch for the same network, so connected device could for example use the existing dhcp server and would then run in the 192.168.200.0 subnet
ether5 connected device runs inside a new 192.168.201 subnet which is firewalled against the .200 subnet with only a few allowed ports.
You want ports ether1-ether4 switched (members of same bridge … set “WAN” IP setup on bridge interface). These ports (together with bridge interface) should be members of WAN interface list.
Port ether5 would be stand-alone port, member of LAN interface list and LAN IP settings set directly on this interface.
My suggestion: proceed with the following steps (in this particular order not to lock yourself out of device):
upgrade ROS (and routerboot) to some recent (either stable or “long term”) version
reset device to factory default
disconnect device from WAN not to get hacked while you change things
connect to device via ether2-4 using MAC connection (winbox)
remove ether5 from bridge
move LAN IP config from bridge to ether5 (that includes IP address and DHCP server)
add ether5 to LAN interface list (if it’s not already)
disconnect from device and re-connect via ether5 (you’ll be dealing with the rest of config from now on and it’s vital that connectivity via ether5 works at this point). You should be able to connect to device either via IP or via LAN.
remove ether2-ether4 and bridge from LAN interface list
move WAN IP setup from ether1 to bridge interface (what exactly depends on WAN type, default is DHCP client)
add ether1 to bridge
add ports ether2-ether4 and bridge to WAN interface list
At this point ports ether1-ether4 are switched WAN interfaces (it doesn’t matter which port connects to ISP and which is used by other WAN-connected devices) and ether5 is your LAN.
Default firewall largely depends on proper interface list membership and if you maintain them properly, you don’t have to change firewall settings (due to changes in interface topology).