To set up your OpenWRT router with 4 virtual networks on the internal switch, you'll need to configure the switch settings, VLAN interfaces, and nftables for your specific firewall rules. Here is an example of how to configure these settings in your OpenWRT environment:
### 1. Switch Configuration
First, you need to configure the switch to set up VLANs. This can be done in the `/etc/config/network` file.
####