commit
This commit is contained in:
parent
b82576d49e
commit
a8125f9062
14
sio2/cyber/10-WireGuard/wg0.conf
Normal file
14
sio2/cyber/10-WireGuard/wg0.conf
Normal file
@ -0,0 +1,14 @@
|
||||
[Interface]
|
||||
Address = 10.0.2.1/24 # Adresses autorisées dans le VPN
|
||||
Listenport = 51820
|
||||
|
||||
# clé privée de machine A
|
||||
PrivateKey = WM0fO9rPFKRtkvKKEcqnUXwhTJ/aWtr8oWXkowuEFX8=
|
||||
# UDP service port; 51820 is a common choice for WireGuard
|
||||
|
||||
|
||||
[Peer]
|
||||
PublicKey = u0/S3/nbLceihWjlsSbPSBvhT4BsLp/b+dGpeLhqElg=
|
||||
AllowedIPs = 10.0.2.1/24 # le peer peut acceder au serveur
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user