Communication between 3 or more routers with Wireguard


I'm connecting all the offices of a company using Wireguard. I've configured all the routers of the small offices to connect to the router of the main office, so all the offices can acces the main office LAN, an the main office can acces all the small offices LAN.

Now I need that every small office can see, not only the main office LAN, but also the LANs of all the other offices.

Does anybody know how to do this?


Allow on wg interface the prefixes of the other offices too.
Either enable the route allowed IPs option in WG, or create static routes, or enable some dynamic routing protocol.