Wireguard

From Alessandro's Wiki
Revision as of 22:42, 15 August 2025 by Porcelinux (talk | contribs) (Created page with " [Interface] # Name = host Address = 192.0.2.3/32 ListenPort = 51820 PrivateKey = DNS = 1.0.0.1,1.0.0.2 Table = 12345 MTU = 1420 PreUp = /bin/example arg1 arg2 %i PostUp = /bin/example arg1 arg2 %i PreDown = /bin arg1 arg2 %i PostDown = /bin arg1 arg2 %i [Peer] # Name = peer AllowedIPs = 10.0.2.1/24 Endpoint = node1.example.tld:12345 PublicKey = remotePublicKeyAbcAbcAbc= PersistentKeepalive = 25")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[Interface]
# Name = host
Address = 192.0.2.3/32
ListenPort = 51820
PrivateKey =
DNS = 1.0.0.1,1.0.0.2
Table = 12345
MTU = 1420
PreUp = /bin/example arg1 arg2 %i
PostUp = /bin/example arg1 arg2 %i
PreDown = /bin arg1 arg2 %i
PostDown = /bin arg1 arg2 %i
[Peer]
# Name = peer
AllowedIPs = 10.0.2.1/24
Endpoint = node1.example.tld:12345
PublicKey = remotePublicKeyAbcAbcAbc=
PersistentKeepalive = 25