-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathwg0.conf
24 lines (22 loc) · 758 Bytes
/
wg0.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Interface]
Address = 10.100.0.1/24
# WireGuard port, change to anything that doesn’t conflict
ListenPort = 47111
# Normally static IP of Raspberry Pi, but we don't want
# resolv.conf to be touched by WireGuard
#DNS = 192.168.x.x
PrivateKey = <server.key>
[Peer]
PublicKey = <client_name.pub>
PresharedKey = <client_name.psk>
AllowedIPs = 10.100.0.2/32
# If this device is behind a NAT, uncomment to keep connection alive
#PersistentkeepAlive = 60
# Addtional VPN clients can be added below
#[Peer]
#PublicKey = <client_name.pub>
#PresharedKey = <client_name.psk>
# Increment the address so each client is unique
#AllowedIPs = 10.100.0.3/32, fd08:4711::3/128
# If this device is behind a NAT, uncomment to keep connection alive
#PersistentkeepAlive = 25