wangyu- / UDPspeeder

A Tunnel which Improves your Network Quality on a High-latency Lossy Link by using Forward Error Correction, possible for All Traffics(TCP/UDP/ICMP)
MIT License
4.7k stars 828 forks source link

kcp+udpspeeder+udp2raw+$$速度很慢 #180

Open PQFitz opened 5 years ago

PQFitz commented 5 years ago

$$端口是3389 直连$$ 上传下载都能达到30m kcptun+ss 下载10m 上传20m kcp+udpspeeder+udp2raw+$$ 下载只有3m 上传12m

可以帮忙看下是我串错了,还是参数错了吗?谢谢哥

Server:

./kcp_server -l ":8443" -t "127.0.0.1:3389" -mode fast2

./speederv2 -s -l0.0.0.0:8444 -r127.0.0.1:8443 -f20:10 -k "passwd"

./udp2raw -s -l0.0.0.0:20001 -r 127.0.0.1:8444 --raw-mode faketcp -a -k passwd

Client: udp2raw -c -r47.52.58.16:20001 -l 127.0.0.1:8855 --raw-mode easyfaketcp -k passwd

speederv2 -c -l0.0.0.0:443 -r127.0.0.1:8855 -f20:10 -k "passwd"

kcp_client -l ":8777" -r "127.0.0.1:443" -mode fast2

PQFitz commented 5 years ago

tcp udp分开用 udp2raw开2个这样影响大吗? 这样好像正常了,您看下还需要改什么参数吗

tcp

./kcp_server -l ":8443" -t "127.0.0.1:3389" -mode fast3 -mtu 1300 ./udp2raw -s -l0.0.0.0:8444 -r 127.0.0.1:8443 --raw-mode faketcp -a -k passwd

udp2raw -c -r27.102.66.106:8444 -l 127.0.0.1:8445 --raw-mode easyfaketcp -k passwd kcp_client -l ":8777" -r "127.0.0.1:8445" -mode fast3 -mtu 1300

udp

./speederv2 -s -l0.0.0.0:9443 -r127.0.0.1:3389 -k "passwd" -f2:4 --timeout 0 --mode 0 ./udp2raw -s -l0.0.0.0:9444 -r 127.0.0.1:9443 --raw-mode faketcp -a -k passwd

udp2raw -c -r27.102.66.106:9444 -l 127.0.0.1:9445 --raw-mode easyfaketcp -k passwd speederv2 -c -l0.0.0.0:8777 -r127.0.0.1:9445 -k "passwd" -f2:4 --timeout 0 --mode 0