Skip to main content

Simple router/bounce node with 3 clients

DO NOT USE THE KEYS IN THESE EXAMPLES, THEY ARE PUBLIC AND SHOULD NEVER BE USED IN PRODUCTION

Bounce node config

[Interface]
Address = 10.0.0.1/24
ListenPort = 51820
PrivateKey = sFHggcBxny9La+jQIQEZjrF4eT6U6IZ7kIbE9Xt+I14=

[Peer]
PublicKey = TruSQaN5wVCTgdWNkTin+h21JbJUXy6tNoSRixBMXlQ=
AllowedIPs = 10.0.0.2/32

[Peer]
PublicKey = ebkxqf5sUC41lZIX2sfdt0XHTdyr+Ii2Ox7CIqwcpHQ=
AllowedIPs = 10.0.0.3/32

[Peer]
PublicKey = DJ8OhWf4rOG/KsYrmrLwUheI7r+bv0oiMCcYXvjsnUQ=
AllowedIPs = 10.0.0.4/32

Client 1

[Interface]
Address = 10.0.0.2/24
ListenPort = 51820
PrivateKey = wO5JlyMuZBydG8r/VcmeYgag4A2+w9ChSu2tS9uTbkA=

[Peer]
PublicKey = EFEa6B4ZyajlVHBguXAhTjixiR7hr6PbhCn4EeA46m4=
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = myserver.dyndns.org:51820

Client 2

[Interface]
Address = 10.0.0.3/24
ListenPort = 51820
PrivateKey = uGcpY6TmDovligr0pB+rRUblExRcoH7ohFGFyOTJH38=

[Peer]
PublicKey = EFEa6B4ZyajlVHBguXAhTjixiR7hr6PbhCn4EeA46m4=
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = myserver.dyndns.org:51820

Client 3

[Interface]
Address = 10.0.0.4/24
ListenPort = 51820
PrivateKey = 4LsV6UgThgUUtGsJu9o1JapbhTy6p4Mbixb0YsJ8lmA=

[Peer]
PublicKey = EFEa6B4ZyajlVHBguXAhTjixiR7hr6PbhCn4EeA46m4=
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = myserver.dyndns.org:51820