13 lines
257 B
Plaintext
13 lines
257 B
Plaintext
[Interface]
|
|
PrivateKey = $privkey
|
|
Address = 10.0.0.1/24
|
|
ListenPort = 443
|
|
PostUp = sysctl net.ipv4.ip_forward=1
|
|
PostUp = nft -f /etc/wireguard/nftables.conf
|
|
PostDown = nft delete table ip wg
|
|
|
|
# dev1
|
|
[Peer]
|
|
PublicKey =
|
|
AllowedIPs = 10.0.0.2/32
|