magictomagic / V2Ray-shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

V2Ray-shell

atrandys 致敬

目前只在 vultr 的 CentOs 7 上试过,推荐使用 CentOS 7 系统

原脚本(出自 atrandys)

curl -O https://raw.githubusercontent.com/atrandys/v2ray-ws-tls/master/v2ray_ws_tls.sh && chmod +x v2ray_ws_tls.sh && ./v2ray_ws_tls.sh

改动与优化

添加对时(亚洲/上海)

将 nginx 服务添加至 systemctl

解决域名输入错误无法修改问题(以参数形式输入)

用法

获得脚本并添加权限

curl -O https://raw.githubusercontent.com/magictomagic/V2Ray-shell/master/mtm-v1.sh && chmod +x mtm-v1.sh 

配置【你解析好的域名】,添加伪装

./mtm-v1.sh -d [你解析好的域名]

将 nginx 添加至 systemctl (可选。若不选,输入 systemctl status nginx 会显示 failed,但问题不大)

./mtm-v1.sh -a

查看 nginx 与 v2ray 状态

./mtm-v1.sh -s

其它参数信息

 -d [domain]            install v2ray+ws+tls
 -a                     add nginx to systemctls
 -s                     check the status of nginx and v2ray
 -u                     upgrade v2ray
 -r                     remove v2ray
 -n                     remove nginx
 -h                     help

后续待完善与探索

多几个伪装的网站页面,规避特征
使用最新的操作系统(目前 CentOs 8),最新的协议(目前 tls 1.3)

将脚本依赖的源放入自己 github 与硬盘中,以备不时之需

整合 bbr 加速脚本,配置更方便(CentOs 8 自带)

新翻墙方法 Trojan一键脚本相关教程1教程2、教程3

About


Languages

Language:Shell 100.0%