Using WG to route between two LANs

Dashamir Hoxha dashohoxha at
Thu Oct 22 17:43:28 CEST 2020


I have created a network as shown in this diagram:

The red arrows show the WG connections. Only the server has a public IP.
>From client1 I can ping to the internet and also to client4: `ping`
However I cannot ping to the LAN IP of client4: `ping`

My ultimate goal is to be able to ping from client2 on LAN1 to client5 on LAN2
(both of which have no WG configuration and interface), routing through
the WG network (client1 --> server <-- client4).

Is this possible? I think that it should work, with proper routing,
but I am not able
to figure out the proper configurations. Has anybody tried something like this?
Do you have any suggestions or advice?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: networks-1.png
Type: image/png
Size: 25913 bytes
Desc: not available
URL: <>

More information about the WireGuard mailing list