feat: add some wireguard client example config

This commit is contained in:
Claudio Maradonna 2022-01-06 20:49:12 +01:00
parent ff89f858e9
commit 5bb9fd292c
Signed by: claudiomaradonna
GPG key ID: B1EDCB4C3B05C387

View file

@ -0,0 +1,13 @@
[Interface]
Address=<local_address>
PrivateKey = `wg genkey`
ListenPort = <listen_port>
[Peer]
PublicKey = <server_public_key>
Endpoint = <server_public_ip>:<server_port>
AllowedIPs = <subnet>/24
# This is for if you're behind a NAT and
# want the connection to be kept alive.
PersistentKeepalive = 25