aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/example_config/templates
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/templates
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 'test/linuxserver/example_config/templates')
-rw-r--r--test/linuxserver/example_config/templates/peer.conf3
1 files changed, 1 insertions, 2 deletions
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}