This commit is contained in:
Emile Nijssen 2021-05-23 13:36:26 +02:00
parent d9901aa8a3
commit 0f220c1a78
14 changed files with 100 additions and 8 deletions

View file

@ -0,0 +1 @@
/FdYIW1UYh+URg7zMU6x+Lsw2E1nMrtyMA8HavZ9h5g=

View file

@ -0,0 +1 @@
sHUUDbaZBQshfOvvF8HeebhhXq3rDKWlW1Vm+6XMklU=

View file

@ -0,0 +1 @@
i8xWKqicnDkNL14I4B+I1zlB8od/booA1joIosWn7X4=

1
config_/privatekey Normal file
View file

@ -0,0 +1 @@
iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o=

1
config_/publickey Normal file
View file

@ -0,0 +1 @@
BkdntwYazhYZzEEHhcYayq6TGw9/YUDQ251s+5bTgC0=

11
config_/wg0 copy.conf Normal file
View file

@ -0,0 +1,11 @@
[Interface]
PrivateKey = iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o= # wg genkey > privatekey
# PublicKey = BkdntwYazhYZzEEHhcYayq6TGw9/YUDQ251s+5bTgC0=
Address = 10.8.0.1/24
ListenPort = 51820
DNS = 1.1.1.1
[Peer]
PublicKey = i8xWKqicnDkNL14I4B+I1zlB8od/booA1joIosWn7X4=
PresharedKey = MzplKtOQ44/IaAKri2VKqCoIlg4XiVH7TCp5bcYRTQU=
AllowedIPs = 10.8.0.2/32

27
config_/wg0.conf Normal file
View file

@ -0,0 +1,27 @@
# Note: Do not edit this file directly.
# Your changes will be overwritten!
# Server
[Interface]
PrivateKey = iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o=
Address = 10.8.0.1/24
ListenPort = 51820
# Client: Emile (af3111a4-7343-4380-a293-ed498d9aa3b8)
[Peer]
PublicKey = i8xWKqicnDkNL14I4B+I1zlB8od/booA1joIosWn7X4=
PresharedKey = MzplKtOQ44/IaAKri2VKqCoIlg4XiVH7TCp5bcYRTQU=
AllowedIPs = 10.8.0.2/32
# Client: Test (2ca33a1c-ed49-4bdd-b84c-adc77f1f3b2d)
[Peer]
PublicKey = 563oiA0IuQqt8JPEXHGINT4mHYKzlLx9Ol2gcV1vKCk=
PresharedKey = Q6xGB4og5Sj6M0MsHzkD16VsniT3FCqOnGmiLLilsU8=
AllowedIPs = 10.8.0.3/32
# Client: Test 3 (f1d0280c-07e7-4927-94dd-000a1723872f)
[Peer]
PublicKey =
PresharedKey =
AllowedIPs = 10.8.0.4/32

41
config_/wg0.json Normal file
View file

@ -0,0 +1,41 @@
{
"server": {
"privateKey": "iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o=",
"publicKey": "BkdntwYazhYZzEEHhcYayq6TGw9/YUDQ251s+5bTgC0=",
"address": "10.8.0.1",
"port": "51820",
"dns": "1.1.1.1"
},
"clients": {
"af3111a4-7343-4380-a293-ed498d9aa3b8": {
"name": "Emile",
"createdAt": "2021-05-22T20:02:45.372Z",
"updatedAt": "2021-05-22T20:02:45.372Z",
"privateKey": "sHUUDbaZBQshfOvvF8HeebhhXq3rDKWlW1Vm+6XMklU=",
"publicKey": "i8xWKqicnDkNL14I4B+I1zlB8od/booA1joIosWn7X4=",
"preSharedKey": "MzplKtOQ44/IaAKri2VKqCoIlg4XiVH7TCp5bcYRTQU=",
"address": "10.8.0.2",
"enabled": true
},
"2ca33a1c-ed49-4bdd-b84c-adc77f1f3b2d": {
"name": "Test",
"address": "10.8.0.3",
"privateKey": "AJVOxJxEnbWyrj7SbhJxxiIIgBsRljs1fP2xrN76Kns=",
"publicKey": "563oiA0IuQqt8JPEXHGINT4mHYKzlLx9Ol2gcV1vKCk=",
"preSharedKey": "Q6xGB4og5Sj6M0MsHzkD16VsniT3FCqOnGmiLLilsU8=",
"createdAt": "2021-05-22T21:41:49.876Z",
"updatedAt": "2021-05-23T10:04:29.051Z",
"enabled": true
},
"f1d0280c-07e7-4927-94dd-000a1723872f": {
"name": "Test 3",
"address": "10.8.0.4",
"privateKey": "",
"publicKey": "",
"preSharedKey": "",
"createdAt": "2021-05-23T10:21:24.607Z",
"updatedAt": "2021-05-23T10:21:24.607Z",
"enabled": true
}
}
}