First page Back Continue Last page Overview Graphics

Add a second client

# svr.wg0.conf

[Interface]

Address = 10.0.0.1/24

ListenPort = 51820

PrivateKey = SERVER_PRIVATE_KEY_WE_CREATED

[Peer]

# client1

PublicKey = CLIENT_PUBKEY_WE_CREATED

AllowedIPs = 10.0.0.2/32

[Peer]

# client2

PublicKey = CLIENT_PUBKEY_WE_CREATED_ON_SECOND_CLIENT

AllowedIPs = 10.0.0.3/32