I recently installed WireGuard on my router. It works fine and all traffic are being passed through it.
However I need a requirement. My router has 3 wifi network. I would like to route the traffic from one wifi only (MyWiFi_5G) to WG and let the other two to be passed through the wan.
I'll be appreciated if anyone you can guide me on how to do it.
a set of rules/routes for each internet connection.
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?