“Mtp on kcptun”的版本间的差异
跳到导航
跳到搜索
第42行: | 第42行: | ||
最后用了国内节点的 mtp 如下 | 最后用了国内节点的 mtp 如下 | ||
https://t.me/proxy?port=80&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=110.231.144.243 | https://t.me/proxy?port=80&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=110.231.144.243 | ||
+ | =trouble shooting= | ||
+ | <pre> | ||
+ | ./server_linux_amd64 | ||
+ | -bash: ./server_linux_amd64: cannot execute binary file: Exec format error | ||
+ | |||
+ | uname -a | ||
+ | Linux vibrant-pipe-1.localdomain 4.19.0-5-686-pae #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) i686 GNU/Linux | ||
+ | root@vibrant-pipe-1:/data/apps# | ||
+ | |||
+ | |||
+ | 领导搞了个 32 bit机子 | ||
+ | </pre> | ||
+ | |||
=see also= | =see also= | ||
https://github.com/xtaci/kcptun | https://github.com/xtaci/kcptun |
2020年12月11日 (五) 06:07的版本
目录
国外节点 安装 mtp and kcptun server
安装 mtp
bash <(wget -qO- https://git.io/mtg.sh) mtg 得到 国外节点的mtp info https://t.me/proxy?port=15854&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=109.182.27.193
kcpturn server
os init ulimit -n 65535, or write it in ~/.bashrc. Suggested sysctl.conf parameters for better handling of UDP packets: net.core.rmem_max=26214400 net.core.rmem_default=26214400 net.core.wmem_max=26214400 net.core.wmem_default=26214400 net.core.netdev_max_backlog=2048 app install wget https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-amd64-20201126.tar.gz wget -c https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-386-20201126.tar.gz ./server_linux_386 -l :80 -t 127.0.0.1:15854 -key eller -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2 -sockbuf 16777217 2>&1 &
国内节点 安装 kcptun client
/root/kcptun/client_linux_amd64 -l :80 -r 107.182.27.193:80 -key eller -mtu 1400 -sndwnd 256 -rcvwnd 2048 -mode fast2 -conn 4 -sockbuf 16777217 2>&1 &
最后用了国内节点的 mtp 如下
https://t.me/proxy?port=80&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=110.231.144.243
trouble shooting
./server_linux_amd64 -bash: ./server_linux_amd64: cannot execute binary file: Exec format error uname -a Linux vibrant-pipe-1.localdomain 4.19.0-5-686-pae #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) i686 GNU/Linux root@vibrant-pipe-1:/data/apps# 领导搞了个 32 bit机子