Difference between revisions of "Wireguard"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
Porcelinux (talk | contribs) |
||
| Line 16: | Line 16: | ||
# Name = peer | # Name = peer | ||
AllowedIPs = 10.0.2.1/24 | AllowedIPs = 10.0.2.1/24 | ||
Endpoint = peer.fqdn: | Endpoint = peer.fqdn:56789 | ||
PublicKey = | PublicKey = | ||
PersistentKeepalive = 60 | PersistentKeepalive = 60 | ||
Latest revision as of 22:45, 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:56789 PublicKey = PersistentKeepalive = 60