# Deny packets from Primary 2.4GHz Wi-Fi
ebtables -t filter -I FORWARD -i eth1 -o wl0.1 -j DROP # to Guest 2.4GHz Wi-Fi
ebtables -t filter -I FORWARD -i eth1 -o wl1.1 -j DROP # to Guest 5GHz Wi-Fi
# Deny packets from Primary 5GHz Wi-Fi
ebtables -t filter -I FORWARD -i eth2 -o wl0.1 -j DROP # to Guest 2.4GHz Wi-Fi
ebtables -t filter -I FORWARD -i eth2 -o wl1.1 -j DROP # to Guest 5GHz Wi-Fi
# Deny packets from Primary Ethernet Ports
ebtables -t filter -I FORWARD -i vlan1 -o wl0.1 -j DROP # to Guest 2.4GHz Wi-Fi
ebtables -t filter -I FORWARD -i vlan1 -o wl1.1 -j DROP # to Guest 5GHz Wi-Fi
# Deny packets from Guest 2.4GHz Wi-Fi
ebtables -t filter -I FORWARD -i wl0.1 -o eth2 -j DROP # to Primary 5GHz Wi-Fi
ebtables -t filter -I FORWARD -i wl0.1 -o vlan1 -j DROP # to Primary Ethernet Ports
# Deny packets from Guest 5GHz Wi-Fi
ebtables -t filter -I FORWARD -i wl1.1 -o eth1 -j DROP # to Primary 2.4GHz Wi-Fi
ebtables -t filter -I FORWARD -i wl1.1 -o vlan1 -j DROP # to Primary Ethernet Ports
# Allow devices on Guest 5GHz Wi-Fi to see devices on Guest 2.4GHz Wi-Fi and vice-versa
# (If the clients cannot see each other, try this.)
ebtables -t filter -I FORWARD -i wl1.1 -o wl0.1 -j ACCEPT
ebtables -t filter -I FORWARD -i wl0.1 -o wl1.1 -j ACCEPT