If every wifi interface is bridged in the lan network, then you can manually select the IPs which are used in the 5G wifi and route them via the wireguard tunnel. If this is not possible to achieve, then you need to create a separate network for the 5G wifi and route every packet coming in from the 5G network to the wireguard tunnel.
I installed PBR and I managed to route the devices based on their MAC address.
However I'm getting this error when I specify the local addresses / devices as wlan0 or wlan0-1 for example Failed to resolve wlan0
Remember that my devices are disabled in device tab, do I need to enable them somehow to be able to use them in PBR rules?