页面“Mtp on kcptun”与“分类:Mtp”之间的差异

来自linux中国网wiki
(页面间的差异)
跳到导航 跳到搜索
(创建页面,内容为“ =国外节点 安装 mtp and kcptun server = ==安装 mtp== <pre> bash <(wget -qO- https://git.io/mtg.sh) mtg 得到 国外节点的mtp info https://t.…”)
 
(创建页面,内容为“mtp”)
 
第1行: 第1行:
 
+
mtp
=国外节点 安装  mtp and  kcptun server =
 
 
 
==安装  mtp==
 
<pre>
 
bash <(wget -qO- https://git.io/mtg.sh)
 
mtg
 
 
 
得到 国外节点的mtp info 
 
 
 
https://t.me/proxy?port=15854&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=109.182.27.193
 
<pre>
 
 
 
==kcpturn server  ==
 
<pre>
 
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 &</pre>
 
 
 
= 国内节点 安装 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
 
=see also=
 
https://github.com/xtaci/kcptun
 

2020年12月11日 (五) 06:04的最新版本

mtp