From b96e9f5f25de2dccc9d47e7ebdd411bd2290c571 Mon Sep 17 00:00:00 2001 From: first Date: Sat, 25 Jan 2025 17:44:22 +0000 Subject: [PATCH] Add client-wg0.conf --- client-wg0.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 client-wg0.conf diff --git a/client-wg0.conf b/client-wg0.conf new file mode 100644 index 0000000..9e8068c --- /dev/null +++ b/client-wg0.conf @@ -0,0 +1,17 @@ +[Interface] +# Replace with the client's private key +PrivateKey = CLIENT_PRIVATE_KEY +# Client's VPN IP address +Address = 10.0.0.2/24 +# Set DNS server (optional) +DNS = 8.8.8.8 + +[Peer] +# Server's public key +PublicKey = SERVER_PUBLIC_KEY +# Server's public IP address and WireGuard port +Endpoint = SERVER_PUBLIC_IP:51820 +# Route all traffic through the VPN +AllowedIPs = 0.0.0.0/0 +# Keep the connection alive (useful if behind NAT) +PersistentKeepalive = 25 \ No newline at end of file