20 lines
515 B
Plaintext
20 lines
515 B
Plaintext
# /etc/wireguard/wg0.conf
|
|
|
|
[Interface]
|
|
Address = 192.168.1.2/29
|
|
DNS = 1.1.1.1
|
|
PrivateKey = kEMAv9NOhpYbH0JwFbplb0WoaOxOVkC2LkF5IQruF28=
|
|
|
|
# Disables automatic creation of route that would route AllowedIPs through wg0
|
|
Table = off
|
|
|
|
PostUp = /home/debian/scripts/create-bridge
|
|
PostUp = /home/debian/scripts/create-l2tp
|
|
|
|
[Peer]
|
|
PublicKey = XZ7QeWZINbYnH+rNVCsMCCaqw/KEJ628kh604NY4qHg=
|
|
PresharedKey = tU3+y1cEqzF0vOCnfFRPhJ24ejbD2HJWjir1aLhwtOA=
|
|
AllowedIPs = 0.0.0.0/0
|
|
Endpoint = 200.1.0.2:52789
|
|
PersistentKeepalive = 25
|