24 lines
377 B
Plaintext
24 lines
377 B
Plaintext
# infra01 WireGuard Configuration (Template)
|
|
#
|
|
# Copy to:
|
|
# /etc/wireguard/wg0.conf
|
|
#
|
|
# Replace all placeholder values before use.
|
|
|
|
[Interface]
|
|
Address = 10.100.0.2/24
|
|
|
|
PrivateKey = <INFRA01_PRIVATE_KEY>
|
|
|
|
[Peer]
|
|
# edge01
|
|
|
|
PublicKey = <EDGE01_PUBLIC_KEY>
|
|
PresharedKey = <PRESHARED_KEY>
|
|
|
|
Endpoint = edge01.zerafa.com:51820
|
|
|
|
AllowedIPs = 10.100.0.1/32
|
|
|
|
PersistentKeepalive = 25
|