Skip to content
/ mtp Public
forked from sunpma/mtp

MTProxy TLS 绿色版一键安装脚本

Notifications You must be signed in to change notification settings

isleeep/mtp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MTProxy TLS 绿色版一键安装脚本

安装

执行如下代码进行安装

mkdir /home/mtproxy && cd /home/mtproxy

curl -s -o mtproxy.sh https://raw.githubusercontent.com/sunpma/mtp/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh
## 或者
curl -s -o mtproxy.sh https://cdn.jsdelivr.net/gh/sunpma/mtp/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh

demo.png

使用

运行服务

bash mtproxy.sh start

调试运行

bash mtproxy.sh debug

停止服务

bash mtproxy.sh stop

重启服务

bash mtproxy.sh restart

卸载安装

因为是绿色版卸载极其简单,直接删除所在目录即可。

rm -rf /home/mtproxy

开机启动

开机启动脚本,如果你的rc.local文件不存在请检查开机自启服务。

通过编辑文件/etc/rc.local将如下代码加入到开机自启脚本中:

bash /home/mtproxy/mtproxy.sh start > /dev/null 2>&1 &

About

MTProxy TLS 绿色版一键安装脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%