added config for wireguard

This commit is contained in:
rene committed 2022-02-25 11:52:20 +01:00
1 parent 25168d5020
commit 32e8520e7b
6 files changed
+37 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
[Interface]
Address = {{ wg_local_ip }}
ListenPort = 41475
PostUp = wg set %i private-key /etc/wireguard/privatekey
[Peer]
PublicKey = {{ wg_server_pubkey }}
Endpoint = wg_endpoint
Allowed_IPs = 192.168.3.0/24, 192.168.1.0/24
PersistentKeepalive = 25