ajout fichier config wireguard
This commit is contained in:
parent
777067579f
commit
d78881a752
10
sio2/CYBER/Wireguard/wg0-a.conf
Normal file
10
sio2/CYBER/Wireguard/wg0-a.conf
Normal file
@ -0,0 +1,10 @@
|
||||
[Interface]
|
||||
PrivateKey = iGPtDYyKYCoQVPofdo7KQXfC4OGCGOBXonF44nKUSFw=
|
||||
Address = 10.0.0.2/32 # Adresses autorisées dans le VPN
|
||||
Listenport = 51820
|
||||
|
||||
[Peer]
|
||||
PublicKey = sAJc6fITMHs9Entb5upqGMN+4M+fnhIIpcWbQiqW50g= # de machine B
|
||||
AllowedIPs = 10.0.0.0/24 # le peer peut acceder au serveur
|
||||
Endpoint = 192.168.0.45:51820
|
||||
|
10
sio2/CYBER/Wireguard/wg0-b.conf
Normal file
10
sio2/CYBER/Wireguard/wg0-b.conf
Normal file
@ -0,0 +1,10 @@
|
||||
[Interface]
|
||||
Address = 10.0.0.1/32 # Adresses autorisées dans le VPN
|
||||
Listenport = 51820
|
||||
PrivateKey = YH3oUGyt8hXlqRINQIANWsqf7Bd+SJcyLhMLGPwbvHk=
|
||||
|
||||
[Peer]
|
||||
PublicKey = k2Yzmoz+7e1TT+n2+zK9AHjssgQLp7DW0T3Zi+AtPV0= # de machine B
|
||||
AllowedIPs = 10.0.0.0/24 # le peer peut acceder au serveur
|
||||
Endpoint = 192.168.0.26:51820
|
||||
|
Loading…
x
Reference in New Issue
Block a user