This commit is contained in:
Emile Nijssen 2021-05-23 13:36:44 +02:00
parent 0f220c1a78
commit 871651aca3
10 changed files with 0 additions and 112 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,11 +0,0 @@
[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,27 +0,0 @@
# 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

View File

@ -1,41 +0,0 @@
{
"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
}
}
}

View File

@ -1,19 +0,0 @@
docker run -d \
--name=wireguard \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 51820:51820/udp \
-v config:/config \
-v modules:/lib/modules \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
ghcr.io/linuxserver/wireguard

9
run.sh
View File

@ -1,9 +0,0 @@
docker run \
--name wg-easy \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--mount type=bind,source="$(pwd)"/config,target=/etc/wireguard \
-p 51820:51820/udp \
-p 51821:51821/tcp \
wg-easy