aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/example_config
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 21:35:35 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 21:35:58 +0100
commitac6672a56843bfd97f69b8b42a072638773d3217 (patch)
treef1cc3debb2cba5c2f11e036e92e7cb1ac9810c14 /test/linuxserver/example_config
parenttest/linuxserver: fix same-host testing (diff)
downloadwg-api-web-ac6672a56843bfd97f69b8b42a072638773d3217.tar.gz
wg-api-web-ac6672a56843bfd97f69b8b42a072638773d3217.zip
test/linuxserver: don't do catch-all AllowedIPs
Diffstat (limited to '')
-rw-r--r--test/linuxserver/example_config/.donoteditthisfile2
-rw-r--r--test/linuxserver/example_config/peer1/peer1.conf2
-rw-r--r--test/linuxserver/example_config/peer1/peer1.pngbin1125 -> 1127 bytes
-rw-r--r--test/linuxserver/example_config/peer2/peer2.conf2
-rw-r--r--test/linuxserver/example_config/peer2/peer2.pngbin1137 -> 1134 bytes
-rw-r--r--test/linuxserver/example_config/peer3/peer3.conf2
-rw-r--r--test/linuxserver/example_config/peer3/peer3.pngbin1146 -> 1132 bytes
7 files changed, 4 insertions, 4 deletions
diff --git a/test/linuxserver/example_config/.donoteditthisfile b/test/linuxserver/example_config/.donoteditthisfile
index 00bf371..d1c814b 100644
--- a/test/linuxserver/example_config/.donoteditthisfile
+++ b/test/linuxserver/example_config/.donoteditthisfile
@@ -3,5 +3,5 @@ ORIG_SERVERPORT="51820"
ORIG_PEERDNS="off"
ORIG_PEERS="3"
ORIG_INTERFACE="10.13.13"
-ORIG_ALLOWEDIPS="0.0.0.0/0, ::/0"
+ORIG_ALLOWEDIPS="10.13.13.0/24"
ORIG_PERSISTENTKEEPALIVE_PEERS=""
diff --git a/test/linuxserver/example_config/peer1/peer1.conf b/test/linuxserver/example_config/peer1/peer1.conf
index bc4ce64..ff373b7 100644
--- a/test/linuxserver/example_config/peer1/peer1.conf
+++ b/test/linuxserver/example_config/peer1/peer1.conf
@@ -7,4 +7,4 @@ DNS = off
PublicKey = qqCJ8qR7mNe6Kkwym7ii979mCaJ2YC+2RYmFQoNVoUc=
PresharedKey = t6OE7dlyynev/QEiPmvQ9YxRew/jTyiKCqGDNWeMCFU=
Endpoint = 127.0.0.1:51820
-AllowedIPs = 0.0.0.0/0, ::/0
+AllowedIPs = 10.13.13.0/24
diff --git a/test/linuxserver/example_config/peer1/peer1.png b/test/linuxserver/example_config/peer1/peer1.png
index c731c1a..59e3a5c 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 7ef1c79..4d20496 100644
--- a/test/linuxserver/example_config/peer2/peer2.conf
+++ b/test/linuxserver/example_config/peer2/peer2.conf
@@ -7,4 +7,4 @@ DNS = off
PublicKey = qqCJ8qR7mNe6Kkwym7ii979mCaJ2YC+2RYmFQoNVoUc=
PresharedKey = f386wjXiWLbMMhgI2OZYb/sRSh7oxcDnpeddIqqbmxU=
Endpoint = 127.0.0.1:51820
-AllowedIPs = 0.0.0.0/0, ::/0
+AllowedIPs = 10.13.13.0/24
diff --git a/test/linuxserver/example_config/peer2/peer2.png b/test/linuxserver/example_config/peer2/peer2.png
index 7630ed0..3b4bb62 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 f09010b..882f0c2 100644
--- a/test/linuxserver/example_config/peer3/peer3.conf
+++ b/test/linuxserver/example_config/peer3/peer3.conf
@@ -7,4 +7,4 @@ DNS = off
PublicKey = qqCJ8qR7mNe6Kkwym7ii979mCaJ2YC+2RYmFQoNVoUc=
PresharedKey = RISZI5HXufwn2ABJNasT+PjKS+uZ530jlspWJjCpvSk=
Endpoint = 127.0.0.1:51820
-AllowedIPs = 0.0.0.0/0, ::/0
+AllowedIPs = 10.13.13.0/24
diff --git a/test/linuxserver/example_config/peer3/peer3.png b/test/linuxserver/example_config/peer3/peer3.png
index b3488b1..9e4d1a4 100644
--- a/test/linuxserver/example_config/peer3/peer3.png
+++ b/test/linuxserver/example_config/peer3/peer3.png
Binary files differ