tinyfecVPN icon indicating copy to clipboard operation
tinyfecVPN copied to clipboard

通过vpn后 传输效果不行 还有udp也是被限制到1MB

Open PQFitz opened this issue 5 years ago • 0 comments

server:

./root/tinyvpn_amd64 -s -l 0.0.0.0:8099 --sub-net 10.22.22.0 -f20:10 -k "passwd" --report 10 >2.txt ./root/udp2raw_amd64 -s -l0.0.0.0:9977 -r 127.0.0.1:8099 -k "passwd" --raw-mode faketcp -a > 1.txt

client: ./root/udp2raw_amd64 -c -r11.22.33.44:9977 -l 0.0.0.0:8099 --raw-mode faketcp -a -k "passwd" > 1.txt ./root/tinyvpn_amd64 -c -r0.0.0.0:8099 --sub-net 10.22.22.0 -f20:10 -k "passwd" --keep-reconnect --report 10 >2.txt

服务器配置 kvm 2h 4g 10G us cn2-gia vps. 客户机配置 hyper-v 4h 1g 100mb 电信cn2 下面是客户机直接测试外网传输速率 iperf3 -c 11.22.33.44

`root@tripodcloud_vps_1224690:~# iperf3 -s

Server listening on 5201

Accepted connection from 88.88.888.88, port 42868 [ 5] local 11.22.33.44 port 5201 connected to 88.88.88.88 port 42870 [ ID] Interval Transfer Bandwidth [ 5] 0.00-1.00 sec 43.8 KBytes 358 Kbits/sec [ 5] 1.00-2.00 sec 291 KBytes 2.38 Mbits/sec [ 5] 2.00-3.00 sec 356 KBytes 2.91 Mbits/sec [ 5] 3.00-4.00 sec 320 KBytes 2.62 Mbits/sec [ 5] 4.00-5.00 sec 334 KBytes 2.73 Mbits/sec [ 5] 5.00-6.00 sec 314 KBytes 2.58 Mbits/sec [ 5] 6.00-7.00 sec 329 KBytes 2.70 Mbits/sec [ 5] 7.00-8.00 sec 357 KBytes 2.92 Mbits/sec [ 5] 8.00-9.00 sec 269 KBytes 2.21 Mbits/sec [ 5] 9.00-10.00 sec 288 KBytes 2.36 Mbits/sec [ 5] 10.00-10.20 sec 62.9 KBytes 2.62 Mbits/sec


[ ID] Interval Transfer Bandwidth Retr [ 5] 0.00-10.20 sec 2.97 MBytes 2.45 Mbits/sec 1 sender [ 5] 0.00-10.20 sec 2.90 MBytes 2.38 Mbits/sec receiver

Server listening on 5201

`

下面是挂上vpn测试的tcp速率

Server listening on 5201

Accepted connection from 10.22.22.2, port 53222 [ 5] local 10.22.22.1 port 5201 connected to 10.22.22.2 port 53224 [ ID] Interval Transfer Bandwidth [ 5] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec [ 5] 1.00-2.00 sec 22.0 KBytes 181 Kbits/sec [ 5] 2.00-3.00 sec 13.9 KBytes 114 Kbits/sec [ 5] 3.00-4.00 sec 37.1 KBytes 304 Kbits/sec [ 5] 4.00-5.00 sec 13.9 KBytes 114 Kbits/sec [ 5] 5.00-6.00 sec 13.9 KBytes 114 Kbits/sec [ 5] 6.00-7.00 sec 33.6 KBytes 276 Kbits/sec [ 5] 7.00-8.00 sec 103 KBytes 846 Kbits/sec [ 5] 8.00-9.00 sec 40.6 KBytes 333 Kbits/sec [ 5] 9.00-10.00 sec 54.5 KBytes 447 Kbits/sec [ 5] 10.00-11.00 sec 161 KBytes 1.32 Mbits/sec [ 5] 11.00-11.02 sec 0.00 Bytes 0.00 bits/sec


[ ID] Interval Transfer Bandwidth Retr [ 5] 0.00-11.02 sec 602 KBytes 448 Kbits/sec 1 sender [ 5] 0.00-11.02 sec 494 KBytes 367 Kbits/sec receiver

下面是测试udp的速率

`Server listening on 5201

Accepted connection from 10.22.22.2, port 53226 [ 5] local 10.22.22.1 port 5201 connected to 10.22.22.2 port 47894 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 5] 0.00-1.00 sec 97.5 KBytes 798 Kbits/sec 4.932 ms 0/84 (0%) [ 5] 1.00-2.00 sec 129 KBytes 1.06 Mbits/sec 3.619 ms 0/111 (0%) [ 5] 2.00-3.00 sec 128 KBytes 1.05 Mbits/sec 3.997 ms 0/110 (0%) [ 5] 3.00-4.00 sec 128 KBytes 1.05 Mbits/sec 3.013 ms 0/110 (0%) [ 5] 4.00-5.00 sec 129 KBytes 1.05 Mbits/sec 3.895 ms 0/111 (0%) [ 5] 5.00-6.00 sec 126 KBytes 1.04 Mbits/sec 3.409 ms 0/109 (0%) [ 5] 6.00-7.00 sec 128 KBytes 1.05 Mbits/sec 3.325 ms 0/110 (0%) [ 5] 7.00-8.00 sec 130 KBytes 1.06 Mbits/sec 3.140 ms 0/112 (0%) [ 5] 8.00-9.00 sec 128 KBytes 1.05 Mbits/sec 3.644 ms 0/110 (0%) [ 5] 9.00-10.00 sec 128 KBytes 1.05 Mbits/sec 4.308 ms 0/110 (0%) [ 5] 10.00-10.24 sec 31.3 KBytes 1.07 Mbits/sec 3.459 ms 0/27 (0%)


[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 5] 0.00-10.24 sec 1.25 MBytes 1.02 Mbits/sec 3.459 ms 0/1104 (0%) `

是我哪里设置不对吗? 能帮忙看一下吗?谢谢!!!

PQFitz avatar May 23 '19 02:05 PQFitz