forked from unitoo/configurations
13 lines
304 B
Text
13 lines
304 B
Text
[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
|