26 lines
403 B
Plaintext
26 lines
403 B
Plaintext
# Edge01 WireGuard Configuration (Template)
|
|
#
|
|
# Copy to:
|
|
# /etc/wireguard/wg0.conf
|
|
#
|
|
# Replace all placeholder values before use.
|
|
|
|
[Interface]
|
|
Address = 10.100.0.1/24
|
|
ListenPort = 51820
|
|
|
|
PrivateKey = <EDGE01_PRIVATE_KEY>
|
|
|
|
# Optional:
|
|
# MTU = 1420
|
|
|
|
[Peer]
|
|
# infra01
|
|
|
|
PublicKey = <INFRA01_PUBLIC_KEY>
|
|
PresharedKey = <PRESHARED_KEY>
|
|
|
|
AllowedIPs = 10.100.0.2/32,192.168.161.0/24
|
|
|
|
PersistentKeepalive = 25
|