There are only five steps to take and each can be verified seperately:1. You must have a working Wireguard connection (it looks like you do) // Yes, I have 2. The allowed networks must contain the remote networks (could be that it is a problem, because if you sub-divide the 10/8 network into several /24 networks for each VLAN, then 10.0.0.0/24 is only one of them)// the10.0.0.0/24 is about the wireguard network [site A 10.0.0.1 and site B 10.0.0.2]3. The routing on both sides must know where to direct the packets to // I suspect that it may be the problem about. As far as I know when you create a wireguard interface it should also manage the routing too4. The firewall rules must allow the packets to pass //No block entry in the firewall logs5. The VPCs must answer to routed ping requests (Windows firewall by default only allows requests on the same local subnet)// I know but the ping fail via VPCs [192.168.10.52 icmp_seq=1 timeout]
10.0.0.0/24 looks suspicious to me. If this is your tunnel network, it should look like 10.0.0.*/32 in the widget.
"More restrictive" - how so, exactly? There's something too restrictive in your rules, obviously. Post the rules, please.
Why are you using floating rules? The ones for 51820/UDP should definitely go on WAN.
Second, assuming you have an "allow all" rule on the respective VLAN interfaces you only need to allow the traffic in through the wireguard interface on the corresponding remote. Did you assign the WG interfaces so you can actually apply rules to them? I suspect the floating rules get evaluated before the WG interfaces are up so they are never applied.Better assign the interfaces, then put a rule on each:source: remote LAN + tunnel network, destination: my VLAN, action: allow.
Since they're VLAN interfaces, they probably wouldn't have the "Default allow LAN to any rule", so those would have to be created too. I haven't actually followed this guide myself, but it appears to cover creation of the proper rules.... https://docs.opnsense.org/manual/how-tos/wireguard-s2s.html
I followed this very guide myself too. Thanks