Home › Forums › Discussions › Support › The ListenPort setting doesn’t work › Reply To: The ListenPort setting doesn’t work
July 9, 2023 at 11:50 am
#13191
Наконец дошли руки прогнать несколько тестов. Конфигурация:
Peer 1 (WireGuard Server):
—————————————
Windows 10 x64
WireGuard For Windows v0.5.3
WireSock VPN Gateway v1.1.4
—————————————
Peer 2 (WireGuard Client):
Windows 11 x64
WireSock VPN Client v1.2.28
—————————————
Peer 3 (WireGuard Client):
Windows 11 ARM64
WireSock VPN Client v1.2.28
—————————————
Peer 2 WireGuard configuration (NAT mode):
[Interface]
PrivateKey = --REMOVED-KEY--
Address = 10.10.11.3/24
DNS = 8.8.8.8, 1.1.1.1
MTU = 1412
[Peer]
PublicKey = --REMOVED-KEY--
AllowedIPs = 0.0.0.0/0
Endpoint = ENDPOINT:PORT
PersistentKeepalive = 25
AllowedApps = chrome, mstsc, iperf3, simple-web-server
DisallowedIPs = 192.168.3.0/24, 10.10.1.0/24
—————————————
Peer 3 WireGuard configuration (NAT mode):
[Interface]
PrivateKey = --REMOVED-KEY--
Address = 10.10.11.6/24
DNS = 8.8.8.8, 1.1.1.1
MTU = 1412
[Peer]
PublicKey = --REMOVED-KEY--
AllowedIPs = 0.0.0.0/0
Endpoint = ENDPOINT:PORT
PersistentKeepalive = 25
; WireSock extensions
DisallowedIPs = 192.168.3.0/24, 10.10.1.0/24
—————————————
На Peer 2 запущены:
iperf3.exe -s
simple-file-server.exe
На Peer 1 и Peer 2 запускаем iperf3 и тестовые скрипты simple-file-server/test:
python fs-test-single.py download test-file-1.txt 2000000 http://10.10.11.3:3000
File does not exist on the server. Uploading the file...
File: test-file-1.txt already exists with the correct size of 2000000 bytes.
File generated: test-file-1.txt, Size: 2000000 bytes, Time taken: 0.00s
File uploaded: test-file-1.txt, Status: 200, Time taken: 12.59s
File downloaded: test-file-1.txt, Status: 200, Time taken: 11.58s
File deleted: test-file-1.txt, Status: 200, Time taken: 0.22s
iperf3 -c 10.10.11.3
Connecting to host 10.10.11.3, port 5201
[ 4] local 10.10.11.1 port 60574 connected to 10.10.11.3 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.01 sec 1.25 MBytes 10.4 Mbits/sec
[ 4] 1.01-2.00 sec 128 KBytes 1.05 Mbits/sec
[ 4] 2.00-3.01 sec 256 KBytes 2.07 Mbits/sec
[ 4] 3.01-4.01 sec 384 KBytes 3.14 Mbits/sec
[ 4] 4.01-5.00 sec 384 KBytes 3.19 Mbits/sec
[ 4] 5.00-6.00 sec 384 KBytes 3.14 Mbits/sec
[ 4] 6.00-7.00 sec 128 KBytes 1.05 Mbits/sec
[ 4] 7.00-8.01 sec 128 KBytes 1.03 Mbits/sec
[ 4] 8.01-9.00 sec 256 KBytes 2.12 Mbits/sec
[ 4] 9.00-10.00 sec 384 KBytes 3.15 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 3.62 MBytes 3.04 Mbits/sec sender
[ 4] 0.00-10.00 sec 3.45 MBytes 2.90 Mbits/sec receiver