siotp/sio2/CYBER/Wireguard/wg0-a.conf
2023-10-12 15:52:38 +02:00

16 lines
369 B
Plaintext

# local settings for Endpoint A
[Interface]
PrivateKey = aLihTWpe3bt3XwNPGOVS0mB9vfr4JqeZPyzhlgQ052k=
Address = 10.0.0.1/32
ListenPort = 51820
# IP forwarding
PreUp = sysctl -w net.ipv4.ip_forward=1
# remote settings for Endpoint B
[Peer]
PublicKey = 8bEwgf4jUaIvZslBNwQSP3sNrJPZg1YDiFqyMCvJszo=
Endpoint = 192.168.3.2:51820
AllowedIPs = 10.0.0.2/32, 192.168.2.0/24