configuration wireguard

This commit is contained in:
root 2022-02-08 08:44:19 +01:00
parent 5d2b6c6660
commit a4a4872a75
3 changed files with 6709 additions and 0 deletions

6687
wireguard/truc.sh Normal file

File diff suppressed because it is too large Load Diff

11
wireguard/wg0-b.conf Normal file
View File

@ -0,0 +1,11 @@
# local settings for Endpoint B
[Interface]
PrivateKey = 0Nb+sT20LbiRTMk4Ll5FsASVSFTgdA+JyMpd8shxJFA=
Address = 10.0.0.2/32
ListenPort = 51820
# remote settings for Endpoint A
[Peer]
PublicKey = uKQUgVq/uud3tIV2Qibth/8YHzDL2Z0SmcsnC+LkAms=
Endpoint = 10.121.38.68:51820
AllowedIPs = 10.0.0.1/32

11
wireguard/wg0.conf Normal file
View File

@ -0,0 +1,11 @@
# local settings for Endpoint A
[Interface]
PrivateKey = kBAtNXmiZU6jVUeAKKoooTd8q5rN7lXpJJLVlEgSlWQ=
Address = 10.0.0.1/32
ListenPort = 51820
# remote settings for Endpoint B
[Peer]
PublicKey = NEWioueQlPkKT4zOoIhmiQi30lV1aJ3gnG69m4T4Ezg=
#Endpoint = 192.168.1.82:51820
AllowedIPs = 10.0.0.2/32