summaryrefslogtreecommitdiff
path: root/hosts/rod/wg-rod.conf.in
blob: 227db0e8b18220173300f864f6ab671d5b8253fb (plain)
1
2
3
4
5
6
7
8
9
10
[Interface]
Address = <ipv4>/24, <ipv6>/64
ListenPort = <port>
PrivateKey =
PostUp = sysctl -w net.ipv4.ip_forward=1
PostUp = sysctl -w net.ipv6.conf.all.forwarding=1

[Peer]
AllowedIPs = <ipv4>/24, <ipv6>/64
PublicKey =