Wireguard

From Alessandro's Wiki
[Interface]
# Name = host
Address = 10.0.2.3/32
ListenPort = 12345
PrivateKey =
DNS = 1.0.0.1,1.0.0.2
Table = 1234
# MTU = 1420
# PreUp = /bin %i
# PostUp = /bin %i
# PreDown = /bin %i
# PostDown = /bin %i
[Peer]
# Name = peer
AllowedIPs = 10.0.2.1/24
Endpoint = peer.fqdn:56789
PublicKey =
PersistentKeepalive = 60