16 lines
373 B
Plaintext
16 lines
373 B
Plaintext
# local settings for Endpoint B
|
|
[Interface]
|
|
PrivateKey = oMcR7DZkrkUumSdvGgC3F/uuLVYICP8kTF/6BdNsFGU=
|
|
Address = 10.0.0.2/32
|
|
ListenPort = 51820
|
|
|
|
# IP forwarding
|
|
PreUp = sysctl -w net.ipv4.ip_forward=1
|
|
|
|
# remote settings for Endpoint A
|
|
[Peer]
|
|
PublicKey = ihizRzwgz/HEF8QHNPRYa7LYB/HTtnwWZlHltI0ZdDc=
|
|
Endpoint = 192.168.0.51:51820
|
|
AllowedIPs = 10.0.0.1/32, 192.168.1.0/24
|
|
|