Wireguard can'r access VLANs

I have followed this https://www.youtube.com/watch?v=8jQ5UE_7xds&t=561s&ab_channel=LawrenceSystems

If I try to access any VLAN : 10.0.10.0 or 10.0.40.0 or 10.0.20.0
It won’t connect

If I try to connect to native LAN, 10.0.0.0, it works
2023-06-23 20_09_47-Modifier le tunnel

Anywhere I should look at?
A

Does the wireguard interface have rules to access those vlans?


The rule is ALL to ALL so I would say yes.
And there is no rule under those VLAN that prevent access FROM the native LAN or the tunnel

Do you have those networks defined in WG so they are accessible?

add all those networks separated by comma in [peer] section in AllowedIPs. Otherwise PC have no way to know that you want to route these network trough tunnel.

Where do you mean exactly?
That must be the problem indeed

Hello Tom,
Where do you mean them to be “defined” ?

As per the picture in original post, this is the Windows App and 10.0.10.0 is the subnet for IOT which I am trying to reach.

Could you please be more specfic for me to find what’s missingé

You need the networks defined under the Allowed IP’s that you want to be accessible over Wireguard.