diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 21:25:47 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 21:35:58 +0100 |
commit | 6beab53fa6462386d2c26ef31ea17907cd4d9749 (patch) | |
tree | c917e1ca62ae1f8a6e8edd7fd5a70a67fea2732f /test/linuxserver/example_config | |
parent | test/linuxserver: add a test configuration (diff) | |
download | wg-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.conf | 1 | ||||
-rw-r--r-- | test/linuxserver/example_config/peer1/peer1.png | bin | 1130 -> 1125 bytes | |||
-rw-r--r-- | test/linuxserver/example_config/peer2/peer2.conf | 1 | ||||
-rw-r--r-- | test/linuxserver/example_config/peer2/peer2.png | bin | 1137 -> 1137 bytes | |||
-rw-r--r-- | test/linuxserver/example_config/peer3/peer3.conf | 1 | ||||
-rw-r--r-- | test/linuxserver/example_config/peer3/peer3.png | bin | 1125 -> 1146 bytes | |||
-rw-r--r-- | test/linuxserver/example_config/templates/peer.conf | 3 |
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 Binary files differindex 49687d7..c731c1a 100644 --- a/test/linuxserver/example_config/peer1/peer1.png +++ b/test/linuxserver/example_config/peer1/peer1.png 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 Binary files differindex 1490540..7630ed0 100644 --- a/test/linuxserver/example_config/peer2/peer2.png +++ b/test/linuxserver/example_config/peer2/peer2.png 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 Binary files differindex 1373ba4..b3488b1 100644 --- a/test/linuxserver/example_config/peer3/peer3.png +++ b/test/linuxserver/example_config/peer3/peer3.png 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} |