mirror of
https://github.com/pirate/wireguard-docs
synced 2024-11-15 06:12:44 +00:00
19 lines
494 B
Plaintext
19 lines
494 B
Plaintext
[Interface]
|
|
# Name = server.example-vpn.tld
|
|
Address = 10.0.44.1/24
|
|
ListenPort = 51820
|
|
PrivateKey = 2P/3ll/TxGTjGqwcWnqJMnjwPqGw7oX1RaXlPfsf2FQ=
|
|
DNS = 1.1.1.1
|
|
PostUp = sysctl -w net.ipv4.ip_forward=1
|
|
PostUp = sysctl -w net.ipv6.conf.all.forwarding=1
|
|
|
|
[Peer]
|
|
# Name = laptop.example-vpn.dev
|
|
PublicKey = BV5DjXeCugIrjvEZLo4sZ0hN5wveFTH8kOfZ1AIQ5js=
|
|
AllowedIPs = 10.0.44.2/32
|
|
|
|
[Peer]
|
|
# Name = phone.example-vpn.dev
|
|
PublicKey = VpjKa2MQKXuvttXRwJIe0LLYrtFYGQRTtmt8okUGm3A=
|
|
AllowedIPs = 10.0.44.3/32
|