# WireGuard Client Configuration Template
# Copy this for each device and replace placeholders with unique values

[Interface]
# THIS CLIENT'S unique private key (never share across devices!)
PrivateKey = <THIS_CLIENT_PRIVATE_KEY>
# Unique IP for this device (must match AllowedIPs in server config)
# Device 1: 10.0.0.2/24
# Device 2: 10.0.0.3/24
# Device 3: 10.0.0.4/24
Address = 10.0.0.X/24
# DNS server to use while VPN is active
DNS = 1.1.1.1
# Optimize MTU (should match server PostUp setting)
PostUp = ip link set dev wg0 mtu 1420

[Peer]
# Server's public key
PublicKey = <SERVER_PUBLIC_KEY>
# Server's public IP and WireGuard port
Endpoint = <SERVER_PUBLIC_IP>:51820
# Route all traffic through VPN
AllowedIPs = 0.0.0.0/0
# Keep connection alive through NAT
PersistentKeepalive = 25

# === USAGE INSTRUCTIONS ===
# 1. Replace <THIS_CLIENT_PRIVATE_KEY> with this device's unique private key
# 2. Change Address to 10.0.0.X where X is this device's unique number
# 3. Replace <SERVER_PUBLIC_KEY> with the server's public key
# 4. Replace <SERVER_PUBLIC_IP> with the actual server IP address
# 5. Save as device1.conf, device2.conf, device3.conf, etc.
# 6. Import into WireGuard app on the respective device
