Add VPN documentation and WireGuard templates
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user