aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/example_config
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 21:25:47 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 21:35:58 +0100
commit6beab53fa6462386d2c26ef31ea17907cd4d9749 (patch)
treec917e1ca62ae1f8a6e8edd7fd5a70a67fea2732f /test/linuxserver/example_config
parenttest/linuxserver: add a test configuration (diff)
downloadwg-api-web-6beab53fa6462386d2c26ef31ea17907cd4d9749.tar.gz
wg-api-web-6beab53fa6462386d2c26ef31ea17907cd4d9749.zip
test/linuxserver: fix same-host testing
This gets rid of the port clashes.
Diffstat (limited to '')
-rw-r--r--test/linuxserver/example_config/peer1/peer1.conf1
-rw-r--r--test/linuxserver/example_config/peer1/peer1.pngbin1130 -> 1125 bytes
-rw-r--r--test/linuxserver/example_config/peer2/peer2.conf1
-rw-r--r--test/linuxserver/example_config/peer2/peer2.pngbin1137 -> 1137 bytes
-rw-r--r--test/linuxserver/example_config/peer3/peer3.conf1
-rw-r--r--test/linuxserver/example_config/peer3/peer3.pngbin1125 -> 1146 bytes
-rw-r--r--test/linuxserver/example_config/templates/peer.conf3
7 files changed, 1 insertions, 5 deletions
diff --git a/test/linuxserver/example_config/peer1/peer1.conf b/test/linuxserver/example_config/peer1/peer1.conf
index cac141d..bc4ce64 100644
--- a/test/linuxserver/example_config/peer1/peer1.conf
+++ b/test/linuxserver/example_config/peer1/peer1.conf
@@ -1,7 +1,6 @@
[Interface]
Address = 10.13.13.2
PrivateKey = gIdVetT76luLb7rnVx0qwW4sESoUPeF5slPfNW/K4Fg=
-ListenPort = 51820
DNS = off
[Peer]
diff --git a/test/linuxserver/example_config/peer1/peer1.png b/test/linuxserver/example_config/peer1/peer1.png
index 49687d7..c731c1a 100644
--- a/test/linuxserver/example_config/peer1/peer1.png
+++ b/test/linuxserver/example_config/peer1/peer1.png
Binary files differ
diff --git a/test/linuxserver/example_config/peer2/peer2.conf b/test/linuxserver/example_config/peer2/peer2.conf
index 50ec2ff..7ef1c79 100644
--- a/test/linuxserver/example_config/peer2/peer2.conf
+++ b/test/linuxserver/example_config/peer2/peer2.conf
@@ -1,7 +1,6 @@
[Interface]
Address = 10.13.13.3
PrivateKey = OGPxWhhPaVz5ld9umBT/lEjRmbt7mgc4vAxNemKXWnI=
-ListenPort = 51820
DNS = off
[Peer]
diff --git a/test/linuxserver/example_config/peer2/peer2.png b/test/linuxserver/example_config/peer2/peer2.png
index 1490540..7630ed0 100644
--- a/test/linuxserver/example_config/peer2/peer2.png
+++ b/test/linuxserver/example_config/peer2/peer2.png
Binary files differ
diff --git a/test/linuxserver/example_config/peer3/peer3.conf b/test/linuxserver/example_config/peer3/peer3.conf
index 33d7e61..f09010b 100644
--- a/test/linuxserver/example_config/peer3/peer3.conf
+++ b/test/linuxserver/example_config/peer3/peer3.conf
@@ -1,7 +1,6 @@
[Interface]
Address = 10.13.13.4
PrivateKey = sCuYK4YLH0Fsyv3gBQpKCZiuqFEzfdjcCdSVG/KhRGU=
-ListenPort = 51820
DNS = off
[Peer]
diff --git a/test/linuxserver/example_config/peer3/peer3.png b/test/linuxserver/example_config/peer3/peer3.png
index 1373ba4..b3488b1 100644
--- a/test/linuxserver/example_config/peer3/peer3.png
+++ b/test/linuxserver/example_config/peer3/peer3.png
Binary files differ
diff --git a/test/linuxserver/example_config/templates/peer.conf b/test/linuxserver/example_config/templates/peer.conf
index cd6e3ae..525b2bd 100644
--- a/test/linuxserver/example_config/templates/peer.conf
+++ b/test/linuxserver/example_config/templates/peer.conf
@@ -1,11 +1,10 @@
[Interface]
Address = ${CLIENT_IP}
PrivateKey = $(cat /config/${PEER_ID}/privatekey-${PEER_ID})
-ListenPort = 51820
DNS = ${PEERDNS}
[Peer]
PublicKey = $(cat /config/server/publickey-server)
PresharedKey = $(cat /config/${PEER_ID}/presharedkey-${PEER_ID})
Endpoint = ${SERVERURL}:${SERVERPORT}
-AllowedIPs = ${ALLOWEDIPS} \ No newline at end of file
+AllowedIPs = ${ALLOWEDIPS}