fichier de conf cli

This commit is contained in:
root 2021-12-14 08:09:36 +01:00
parent 74576e6f62
commit 11bf649f82

11
wireguard/wg0.conf Normal file
View File

@ -0,0 +1,11 @@
[Interface]
PrivateKey = wPeucw5LApEAm87Rub1et4bT7jrzTeLUMnAqDz8nIEA= # de machine B
Address = 10.0.2.2/24
#DNS = 192.168.1.254
[Peer]
PublicKey = 9SGN96Lr/98ifinfaYYqnlYfRCckE0bCj9FJgctrpRQ= # de machineA
AllowedIPs = 10.0.2.0/24 #, 192.168.1.0/24
#AllowedIPs = 0.0.0.0/0
Endpoint = 10.121.38.33:51820
PersistentKeepalive = 20