This commit is contained in:
Emile Nijssen 2021-05-22 22:21:09 +02:00
parent eaf3d5c3fb
commit d7bb645470
25 changed files with 4632 additions and 2 deletions

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

View file

@ -1,10 +1,15 @@
# Note: Do not edit this file directly.
# Your changes will be overwritten!
# Server
[Interface]
PrivateKey = iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o= # wg genkey > privatekey
# PublicKey = BkdntwYazhYZzEEHhcYayq6TGw9/YUDQ251s+5bTgC0=
PrivateKey = iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o=
Address = 10.8.0.1/24
ListenPort = 51820
DNS = 1.1.1.1
# Client: Emile (af3111a4-7343-4380-a293-ed498d9aa3b8)
[Peer]
PublicKey = i8xWKqicnDkNL14I4B+I1zlB8od/booA1joIosWn7X4=
PresharedKey = MzplKtOQ44/IaAKri2VKqCoIlg4XiVH7TCp5bcYRTQU=

22
config/wg0.json Normal file
View file

@ -0,0 +1,22 @@
{
"server": {
"privateKey": "iOQJS7OUUGPYATsX6nqlL+sOODoiWiN5IOE8Msfw/0o=",
"publicKey": "BkdntwYazhYZzEEHhcYayq6TGw9/YUDQ251s+5bTgC0=",
"address": "10.8.0.1/24",
"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/32",
"allowedIPs": "10.8.0.2/32",
"enabled": true
}
}
}