Guys, I'm having a problem configuring Openwrt 23. I want to set up a vlan that has all its traffic passed through the do set up a vlan that uses a wireguard connection (Surfshark) as a wan. So far so good, I've managed to set up this Vlan separately from the Lan and make it work. However, the Lan that would go out through the ISP simply doesn't work anymore after I activate the wireguard one, and I only need to delete the entire configuration for the lan to work again. I think it's something to do with routing, from what I'm reading on the internet, but I haven't figured out how to do it:
What I did:
I installed wireguard on openwrt, and configured Surfshark on it - and created a zone on the firewall specifically for it with the same settings as the wan and marked masquarading
Then I created a vlan.20 on eth.1 going to the access point differentiated to a specific wifi.
I also created an interface with ip 192.168.100.1/24 pointing to vlan.20 to release the IP to the devices and associated it with a zone called vpn.
In the firewall, I made the vpn rule the same as the lan rule but pointing to the wireguard as follows