i have a Fritzbox 4020 with OpenWRT 22.03.
I wanted to set up a guest wifi, and route all traffic through a Wireguard VPN later.
But for now, setting up the guest wifi is not working.
I created a seperate Wifi network "VPN" and the DHCP is working, but i have no internet access.
The Fritzbox gets internet via the WAN port.
The client gets an IP address, but pinging 18.104.22.168 is not working.
vpn firewall zone should have a forwarding to wan zone. Also masquerading is not needed in vpn zone.
This worked, thank you.
How is it possible to route all traffic from this VPN Wifi through wg0?
You need to do Policy Based Routing and you have 3 options: