2
This commit is contained in:
parent
a8125f9062
commit
7ecbfcd3e6
@ -1,14 +1,11 @@
|
||||
[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
|
||||
|
||||
PrivateKey = GIOgHwIs/0uNvwn/iAX5dP5PGjDY7+OpM/c50X6ry2k=
|
||||
Address = 10.0.2.2/32
|
||||
#DNS = 192.168.1.254
|
||||
|
||||
[Peer]
|
||||
PublicKey = u0/S3/nbLceihWjlsSbPSBvhT4BsLp/b+dGpeLhqElg=
|
||||
AllowedIPs = 10.0.2.1/24 # le peer peut acceder au serveur
|
||||
|
||||
|
||||
PublicKey = COah6qTtwZo4h9GhtBHBhySOwmH4g78sI49NLGmze3M=
|
||||
#AllowedIPs = 10.0.0.0/8, 192.168.1.0/24
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
Endpoint = 192.168.0.40:51820
|
||||
PersistentKeepalive = 20
|
||||
|
Loading…
x
Reference in New Issue
Block a user