Difference between revisions of "Wireguard"
From Alessandro's Wiki
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") |
Porcelinux (talk | contribs) |
||
| Line 2: | Line 2: | ||
[Interface] | [Interface] | ||
# Name = host | # Name = host | ||
Address = | Address = 10.0.2.3/32 | ||
ListenPort = | ListenPort = 12345 | ||
PrivateKey = | PrivateKey = | ||
DNS = 1.0.0.1,1.0.0.2 | DNS = 1.0.0.1,1.0.0.2 | ||
Table = | Table = 1234 | ||
MTU = 1420 | # MTU = 1420 | ||
PreUp = /bin | # PreUp = /bin %i | ||
PostUp = /bin | # PostUp = /bin %i | ||
PreDown = /bin | # PreDown = /bin %i | ||
PostDown = /bin | # PostDown = /bin %i | ||
[Peer] | [Peer] | ||
# Name = peer | # Name = peer | ||
AllowedIPs = 10.0.2.1/24 | AllowedIPs = 10.0.2.1/24 | ||
Endpoint = | Endpoint = peer.fqdn:12345 | ||
PublicKey | PublicKey = | ||
PersistentKeepalive = | PersistentKeepalive = 60 | ||
Revision as of 22:44, 15 August 2025
[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:12345 PublicKey = PersistentKeepalive = 60