Add wireguard configuration

This commit is contained in:
2022-05-27 20:15:40 +02:00
parent 0bb5d4ff18
commit 5d4269d172
2 changed files with 24 additions and 0 deletions

11
etc/wireguard/wg0.conf Normal file
View File

@ -0,0 +1,11 @@
[Interface]
PrivateKey = YOUR_PRIVATE_KEY
Address = 10.9.0.2/24
ListenPort = 12912
MTU = 1380
[Peer]
PublicKey = YOUR_PUBLIC_KEY
AllowedIPs = 10.9.0.1/32
Endpoint = YOUR_IP:12912
PersistentKeepalive = 25