2020-05-22 15:30:07 +08:00
|
|
|
|
# v2ray-agent
|
2021-01-25 11:57:29 +08:00
|
|
|
|
|
2021-01-15 16:56:51 +08:00
|
|
|
|
> [感谢 JetBrains 提供的非商业开源软件开发授权](https://www.jetbrains.com/?from=v2ray-agent)
|
|
|
|
|
|
|
|
|
|
> [Thanks for non-commercial open source development authorization by JetBrains](https://www.jetbrains.com/?from=v2ray-agent)
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-09-06 11:35:52 +08:00
|
|
|
|
- [Cloudflare 优化方案](https://github.com/mack-a/v2ray-agent/blob/master/documents/optimize_V2Ray.md)
|
2020-09-06 11:29:17 +08:00
|
|
|
|
- [流量中转](https://github.com/mack-a/v2ray-agent/blob/master/documents/traffic_relay.md)
|
2020-09-24 11:43:25 +08:00
|
|
|
|
- [手动自建教程](https://github.com/mack-a/v2ray-agent/blob/master/documents/Cloudflare_install_manual.md)
|
2020-12-16 17:49:43 +08:00
|
|
|
|
- [ssh入门教程](https://www.v2ray-agent.com/2020-12-16-ssh%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B)
|
2020-11-19 11:56:53 +08:00
|
|
|
|
- [TG群](https://t.me/technologyshare)、[订阅频道-及时获取更新通知](https://t.me/v2rayagentshare)、[博客地址](https://www.v2ray-agent.com/)
|
2020-12-15 11:13:47 +08:00
|
|
|
|
- [公益订阅链接](https://github.com/mack-a/v2ray-agent/blob/master/documents/free_account.md)。
|
2020-09-06 11:29:17 +08:00
|
|
|
|
|
2020-09-06 11:32:36 +08:00
|
|
|
|
* * *
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-09-06 11:33:08 +08:00
|
|
|
|
# 目录
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-09-23 10:49:02 +08:00
|
|
|
|
- [1.脚本安装](#1vlesstcptlsvlesswstlsvmesstcptlsvmesswstlstrojan-伪装博客-五合一共存脚本)
|
2021-01-15 14:57:16 +08:00
|
|
|
|
* [组合方式](#组合方式)
|
|
|
|
|
* [组合推荐](#组合推荐)
|
|
|
|
|
* [特性](#特性)
|
|
|
|
|
* [注意事项](#注意事项)
|
|
|
|
|
* [安装脚本](#安装脚本)
|
|
|
|
|
|
2020-09-06 11:32:36 +08:00
|
|
|
|
* * *
|
2020-11-29 14:45:06 +08:00
|
|
|
|
|
2020-09-28 11:37:06 +08:00
|
|
|
|
# 1.七合一共存脚本+伪装博客
|
2021-01-25 11:57:29 +08:00
|
|
|
|
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- [Cloudflare入门教程](https://github.com/mack-a/v2ray-agent/blob/master/documents/cloudflare_init.md)
|
2020-09-23 09:55:47 +08:00
|
|
|
|
|
2020-12-02 11:12:42 +08:00
|
|
|
|
## 特性
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-12-02 11:12:42 +08:00
|
|
|
|
- 支持[Xray-core[XTLS]](https://github.com/XTLS/Xray-core)、v2ray-core [XTLS]、v2ray-core
|
|
|
|
|
- 支持不同核心之间的配置文件互相读取。
|
|
|
|
|
- 支持 VLESS/VMess/trojan/trojan-go-->ws的协议
|
2021-01-15 15:06:00 +08:00
|
|
|
|
- 支持Debian、Ubuntu、Centos,支持主流的cpu架构。**不建议使用Centos以及低版本的系统,2.3.x后不再支持Centos6**
|
2020-12-02 11:12:42 +08:00
|
|
|
|
- 支持个性化安装。
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- 无需卸载即可安装、重装任意组合。卸载脚本时无多余文件残留。
|
|
|
|
|
- 支持纯ipv6,[ipv6注意事项](https://github.com/mack-a/v2ray-agent/blob/master/documents/ipv6_help.md)
|
|
|
|
|
- 支持利用ipv6排除Google的人机验证,**需自己申请IPv6隧道,不建议使用自带的IPv6**
|
2021-01-12 16:52:25 +08:00
|
|
|
|
- [支持自定义证书安装](https://github.com/mack-a/v2ray-agent/blob/master/documents/install_tls.md)
|
2020-12-02 11:12:42 +08:00
|
|
|
|
|
2021-01-26 16:15:47 +08:00
|
|
|
|
## 支持的安装类型
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-09-28 11:28:04 +08:00
|
|
|
|
- VLESS+TCP+TLS
|
2020-12-02 11:06:13 +08:00
|
|
|
|
- VLESS+TCP+xtls-rprx-direct【**推荐**】
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- VLESS+WS+TLS【支持CDN、ipv6】
|
2020-09-28 11:28:04 +08:00
|
|
|
|
- VMess+TCP+TLS
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- VMess+WS+TLS【支持CDN、ipv6】
|
2020-12-02 11:06:13 +08:00
|
|
|
|
- Trojan【**推荐**】
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- Trojan-Go+WS【支持CDN、不支持ipv6】
|
2020-09-28 11:28:04 +08:00
|
|
|
|
|
2020-11-08 13:17:40 +08:00
|
|
|
|
## 线路推荐
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-11-08 13:20:56 +08:00
|
|
|
|
- 1.GIA
|
2020-11-08 13:17:21 +08:00
|
|
|
|
- 2.上海CN2+HK
|
|
|
|
|
- 3.上海联通+台湾TFN
|
|
|
|
|
- 4.上海联通+Vultr东京
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- 5.广移/珠移+HKIX/CMI/NTT
|
2020-11-08 13:18:34 +08:00
|
|
|
|
- 6.苏日IPLC+日本/美国
|
|
|
|
|
- 7.莞港IPLC+HK
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- 8.广移/CN2+Cloudflare+全球
|
2021-01-26 16:22:33 +08:00
|
|
|
|
- 9.广移/CN2/南联+香港AZ+全球
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- 10.北联+西伯利亚、伯力ttk/RT
|
|
|
|
|
- 11.CN2+HE
|
2021-01-26 16:22:33 +08:00
|
|
|
|
- 12.电信+台湾远传电信
|
2020-09-28 11:28:04 +08:00
|
|
|
|
|
|
|
|
|
## 组合推荐
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-11-16 14:10:43 +08:00
|
|
|
|
- 中专/gia ---> VLESS+TCP+TLS/XTLS、Trojan【推荐使用XTLS的xtls-rprx-direct】
|
2021-01-15 14:57:16 +08:00
|
|
|
|
- 移动宽带 ---> VMESS+WS+TLS/Trojan-Go+WS + Cloudflare
|
2020-12-02 11:06:13 +08:00
|
|
|
|
- Trojan建议开启Mux【**多路复用**】,仅需客户端开启,服务端自适应。
|
2020-10-14 14:18:39 +08:00
|
|
|
|
- VMess/VLESS也可开启Mux,效果需要自己尝试,XTLS不支持Mux。仅需客户端开启,服务端自适应。
|
2020-09-28 11:28:04 +08:00
|
|
|
|
|
2020-09-10 15:18:09 +08:00
|
|
|
|
## 注意事项
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-09-10 15:18:09 +08:00
|
|
|
|
- 修改Cloudflare->SSL/TLS->Overview->Full
|
2020-09-23 10:19:19 +08:00
|
|
|
|
- Cloudflare ---> A记录解析的云朵必须为灰色
|
2021-01-26 16:19:15 +08:00
|
|
|
|
- **使用纯净系统安装,如使用其他脚本安装过,请重新build系统再安装**
|
2021-01-15 14:57:16 +08:00
|
|
|
|
- wget: command not found [**这里需要自己手动安装下wget**]
|
|
|
|
|
,如未使用过Linux,[点击查看](https://github.com/mack-a/v2ray-agent/tree/master/documents/install_tools.md)安装教程
|
2020-11-16 10:13:58 +08:00
|
|
|
|
- 不支持非root账户
|
2021-01-04 17:31:59 +08:00
|
|
|
|
- **~~脚本默认屏蔽BT【已失效】~~**
|
2020-12-19 22:31:59 +08:00
|
|
|
|
- **中间的版本号升级意味可能不兼容之前安装的内容,如果不是追新用户或者必须升级的版本请谨慎升级。** 例如 2.2.\*,不兼容2.1.\*
|
2021-01-26 16:19:15 +08:00
|
|
|
|
- **如发现Nginx相关问题,请卸载掉自编译的nginx或者重新build系统**
|
2021-01-26 16:15:47 +08:00
|
|
|
|
- **为了节约时间,反馈请带上详细截图或者按照模版规范,无截图或者不按照规范的issue会被直接关闭**
|
2020-11-20 09:40:54 +08:00
|
|
|
|
|
2020-11-29 14:43:16 +08:00
|
|
|
|
## 脚本目录
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-12-02 11:08:42 +08:00
|
|
|
|
- v2ray-core 【**/etc/v2ray-agent/v2ray**】
|
|
|
|
|
- Xray-core 【**/etc/v2ray-agent/xray**】
|
|
|
|
|
- Trojan 【**/etc/v2ray-agent/trojan**】
|
|
|
|
|
- TLS证书 【**/etc/v2ray-agent/tls**】
|
|
|
|
|
- Nginx配置文件 【**/etc/nginx/conf.d/alone.conf**】、Nginx伪装博客目录 【**/usr/share/nginx/html**】
|
2020-11-29 14:42:44 +08:00
|
|
|
|
|
2020-12-07 16:54:09 +08:00
|
|
|
|
## [脚本常用命令](https://github.com/mack-a/v2ray-agent/blob/master/documents/common_commands.md)
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-12-14 14:49:08 +08:00
|
|
|
|
## [常见脚本错误处理](https://github.com/mack-a/v2ray-agent/blob/master/documents/shell_error.md)
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-09-10 15:18:09 +08:00
|
|
|
|
## 安装脚本
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2021-01-26 16:19:15 +08:00
|
|
|
|
- 支持快捷方式启动,安装完毕后,shell输入[**vasma**]即可打开脚本,脚本执行路径[**/etc/v2ray-agent/install.sh**]
|
2021-01-26 16:15:47 +08:00
|
|
|
|
|
2021-01-15 14:57:16 +08:00
|
|
|
|
- Latest release
|
2021-01-15 15:06:00 +08:00
|
|
|
|
|
2020-11-20 09:40:54 +08:00
|
|
|
|
```
|
2020-11-21 00:19:31 +08:00
|
|
|
|
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
|
2020-11-20 09:40:54 +08:00
|
|
|
|
```
|
2020-11-16 10:03:47 +08:00
|
|
|
|
|
2021-01-15 14:57:16 +08:00
|
|
|
|
- v2.2.24
|
2021-01-15 15:06:00 +08:00
|
|
|
|
|
2021-01-15 14:57:16 +08:00
|
|
|
|
```
|
|
|
|
|
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/9ae23c13a56460d8c14f27c8eb65efc73b173f46/install.sh" && chmod 700 /root/install.sh && /root/install.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- v2.1.27
|
2021-01-15 15:06:00 +08:00
|
|
|
|
|
2021-01-15 14:57:16 +08:00
|
|
|
|
```
|
|
|
|
|
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/3f8ea0aa364ae2e1e407056074c11b448396261f/install.sh" && chmod 700 /root/install.sh && /root/install.sh
|
|
|
|
|
```
|
|
|
|
|
|
2020-09-06 11:29:17 +08:00
|
|
|
|
- 示例图
|
2021-01-15 16:48:01 +08:00
|
|
|
|
|
|
|
|
|
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install.jpg" width=700>
|
2020-05-23 23:21:43 +08:00
|
|
|
|
|
2020-09-24 15:19:37 +08:00
|
|
|
|
# 许可证
|
2021-01-15 14:57:16 +08:00
|
|
|
|
|
2020-11-27 11:16:48 +08:00
|
|
|
|
[GPL-3.0](https://github.com/mack-a/v2ray-agent/blob/master/LICENSE)
|
2020-09-24 15:19:37 +08:00
|
|
|
|
|
2020-09-24 11:43:25 +08:00
|
|
|
|
## Stargazers over time
|
|
|
|
|
|
|
|
|
|
[![Stargazers over time](https://starchart.cc/mack-a/v2ray-agent.svg)](https://starchart.cc/mack-a/v2ray-agent)
|