force Wireguard traffic to flow between Vlans

Started by simoneweb, February 12, 2024, 03:01:48 PM

Previous topic - Next topic
I have a wan, wireguard tunnel and 2 Vlans (Vlan01 tagged 10, Vlan02 tagged 20).
these 2 Vlans are configured with static IPs.

Is there a way to make Wireguard's Tunnel use these two Vlans than the traffic will exit these two Vlans and go back to the destination through the WAN? some sort of loadbalancing...

the main reason I need this is to make the traffic flow and get different MTU values from both of them, e.g udp mtu 1280, while tcp mtu is 576.

all the Vlan's are using the same gateway of the wan (not specified): Dynamic.

Thanks!