2
0
mirror of https://github.com/pirate/wireguard-docs synced 2024-11-17 03:25:48 +00:00
wireguard-docs/full-example/home-server/wg0.conf

15 lines
436 B
Plaintext
Raw Normal View History

2019-05-28 09:33:04 +00:00
[Interface]
# Name = home-server.example-vpn.dev
Address = 10.0.0.3/32
ListenPort = 51820
PrivateKey = WN+bvd3PCWs5Pk3bvl7abWR0c1L6PCWKYRX56mjVYGo=
2019-05-28 09:33:04 +00:00
DNS = 1.1.1.1
[Peer]
# Name = public-server1.example-vpn.tld
Endpoint = public-server1.example-vpn.tld:51820
PublicKey = q/+jwmL5tNuYSB3z+t9Caj00Pc1YQ8zf+uNPu/UE1wE=
2019-05-28 09:33:04 +00:00
# routes traffic to itself and entire subnet of peers as bounce server
AllowedIPs = 10.0.0.1/24
PersistentKeepalive = 25