Create wg0.conf.example for WireGuard setup
Add example WireGuard configuration file for gateway
This commit is contained in:
1 parent
202a829101
commit
96b4c26faf
1 file changed
+10
@@ -0,0 +1,10 @@
|
||||
# Generate keys: wg genkey | tee priv | wg pubkey
|
||||
[Interface]
|
||||
PrivateKey = <GATEWAY_PRIVATE_KEY>
|
||||
Address = 10.99.0.2/24
|
||||
|
||||
[Peer]
|
||||
PublicKey = <VPS_PUBLIC_KEY>
|
||||
Endpoint = vps.example.org:51820
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
PersistentKeepalive = 25
|
||||
Reference in new issue
Block a user