Hi,

I would have a wg0 on server1, with the clients connecting and having a dedicated IP address, and server2 also connecting to server1 with a dedicated address. On server2 you can just allow traffic between those ip addresses on wg0, at least that's how we did a similar scanario.

Regards,
Robert


On 16.10.26 07:11, evily wrote:
Hello!

I'm sorry! I'm not very goot with networkin terminology. So I draw
figures:

Figure 1:

               ###########           ###########
               # server1 #           # server2 #
               #         #           #         #
client1<----->#   wg0   #<---,      #         #
               #         #    |      #         #
client2<----->#   wg1   #<--------->#   wg0   #-->192.168.*.*
               #         #    |      #         #
client3<----->#   wg2   #<---'      #         #
               ###########           ###########


Figure 2:

               ###########                      ###########
client1<---,  # server1 #                      # server2 #
            |  #         #                      #         #
client2<----->#   wg0   #<-------------------->#   wg0   #-->192.168.*.*
            |  ###########  How to setup this?  ###########
client3<---'


I want to give access to 3 clients to 192.168.*.*. On server2 I can just
create wg0 interface with 3 wgpeers. But should I create wg0, wg1, wg2
interfaces for every server2 peer (figure 2)? Or is it possible do with
a single wg0 on server1 (figure 1)?


==
evily

Reply via email to