13 lines
393 B
Plaintext
13 lines
393 B
Plaintext
[Interface]
|
|
Address = 10.0.2.1/24 # Adresses autorisées dans le VPN
|
|
Listenport = 51821
|
|
|
|
# clé privée de machine A
|
|
PrivateKey = 4Fup69eSluAsAjQQsHp0orLrqePWrM1tB+XmcKkuQFA=
|
|
# UDP service port; 51820 is a common choice for WireGuard
|
|
ListenPort = 51821
|
|
|
|
[Peer]
|
|
PublicKey = kEbiZGRNCPkNbFePrwJQs/aerRkw+8e+L2BhEEBsmyI= # de machine B
|
|
AllowedIPs = 10.0.2.1/24 # le peer peut acceder au serveur
|