unifios-utilities/wireguard-go/configs/wg0.conf

12 lines
304 B
Plaintext
Raw Permalink Normal View History

[Interface]
# Change to map to your subnet
Address = 10.20.0.3/24
2020-07-13 05:54:09 +00:00
PrivateKey = <server private key>
# Can be whatever port you like
ListenPort = 51820
[Peer]
PublicKey = <client public key>
Endpoint = <server ip>:<server port>
# Change to the CIDRs you want routed over the VPN
AllowedIPs = 10.20.0.0/24