From 6beab53fa6462386d2c26ef31ea17907cd4d9749 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 12 Mar 2023 21:25:47 +0100 Subject: test/linuxserver: fix same-host testing This gets rid of the port clashes. --- test/linuxserver/example_config/peer1/peer1.conf | 1 - test/linuxserver/example_config/peer1/peer1.png | Bin 1130 -> 1125 bytes test/linuxserver/example_config/peer2/peer2.conf | 1 - test/linuxserver/example_config/peer2/peer2.png | Bin 1137 -> 1137 bytes test/linuxserver/example_config/peer3/peer3.conf | 1 - test/linuxserver/example_config/peer3/peer3.png | Bin 1125 -> 1146 bytes test/linuxserver/example_config/templates/peer.conf | 3 +-- 7 files changed, 1 insertion(+), 5 deletions(-) (limited to 'test') 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 Binary files a/test/linuxserver/example_config/peer1/peer1.png and b/test/linuxserver/example_config/peer1/peer1.png 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 Binary files a/test/linuxserver/example_config/peer2/peer2.png and b/test/linuxserver/example_config/peer2/peer2.png 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 Binary files a/test/linuxserver/example_config/peer3/peer3.png and b/test/linuxserver/example_config/peer3/peer3.png 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} -- cgit v1.2.3