mirror of
https://github.com/pirate/wireguard-docs.git
synced 2025-04-19 08:55:09 +00:00
14 lines
409 B
Plaintext
14 lines
409 B
Plaintext
|
[Interface]
|
||
|
# Name = phone.example-vpn.dev
|
||
|
Address = 10.0.0.5/32
|
||
|
PrivateKey = <private key for phone.example-vpn.dev>
|
||
|
DNS = 1.1.1.1
|
||
|
|
||
|
[Peer]
|
||
|
# Name = public-server1.example-vpn.tld
|
||
|
Endpoint = public-server1.example-vpn.tld:51820
|
||
|
PublicKey = <public key for public-server1.example-vpn.tld>
|
||
|
# routes traffic to itself and entire subnet of peers as bounce server
|
||
|
AllowedIPs = 10.0.0.1/24
|
||
|
PersistentKeepalive = 25
|