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

16 lines
369 B
Plaintext

# local settings for Endpoint B
[Interface]
PrivateKey = eLqg4jQCId97MOdcP5k0FIlxnaMBArlPPEaTVmRPWFk=
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 = 5UQzcels7MqDXWdt2oDvfbjykISpYl4i8uYFytHijUc=
Endpoint = 192.168.3.2:51820
AllowedIPs = 10.0.0.1/32, 192.168.1.0/24