2020-05-22 15:30:07 +08:00
|
|
|
|
# v2ray-agent
|
2020-09-06 11:31:33 +08:00
|
|
|
|
- 新版教程,如需查看旧版请点击["返回旧版"](https://github.com/mack-a/v2ray-agent/blob/master_backup/README.md)
|
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-23 10:22:07 +08:00
|
|
|
|
- [手动自建教程](#2手动自建教程)
|
2020-09-06 11:29:17 +08:00
|
|
|
|
- [订阅频道](https://t.me/v2rayagentshare)、[TG群](https://t.me/technologyshare)、[博客地址](https://blog.v2ray-agent.com/)
|
2020-09-23 10:22:07 +08:00
|
|
|
|
- [公益订阅链接【1496.59 GB of 2 TB Used 2020-9-7】](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
|
|
|
|
* * *
|
2020-09-06 11:33:08 +08:00
|
|
|
|
# 目录
|
2020-09-23 10:19:19 +08:00
|
|
|
|
- [1.(VLESS+TCP+TLS/VLESS+WS+TLS/VMess+TCP+TLS/VMess+WS+TLS/Trojan)+伪装博客 五合一共存脚本](#1vlesstcptlsvlesswstlsvmesstcptlsvmesswstlstrojan-伪装博客-五合一共存脚本)
|
2020-09-06 11:35:52 +08:00
|
|
|
|
- [2.手动自建教程](#2手动自建教程)
|
2020-09-06 11:32:36 +08:00
|
|
|
|
* * *
|
2020-09-08 14:38:42 +08:00
|
|
|
|
|
2020-09-23 10:19:19 +08:00
|
|
|
|
# 1.VLESS+TCP+TLS/VLESS+WS+TLS/VMess+TCP+TLS/VMess+WS+TLS/Trojan +伪装博客 五合一共存脚本
|
2020-09-11 10:14:19 +08:00
|
|
|
|
- 如果没有使用过Cloudflare[点击这里](https://github.com/mack-a/v2ray-agent/blob/master/documents/cloudflare_init.md)查看入门教程
|
2020-09-23 09:55:47 +08:00
|
|
|
|
|
|
|
|
|
## 组合推荐
|
|
|
|
|
- 中专/gia ---> VLESS+TCP+TLS/Trojan
|
|
|
|
|
- 移动宽带 ---> VLESS+WS+TLS/VMESS+WS+TLS + Cloudflare
|
|
|
|
|
|
2020-09-10 15:18:09 +08:00
|
|
|
|
## 注意事项
|
|
|
|
|
- 修改Cloudflare->SSL/TLS->Overview->Full
|
2020-09-23 10:19:19 +08:00
|
|
|
|
- Cloudflare ---> A记录解析的云朵必须为灰色
|
2020-09-10 17:28:46 +08:00
|
|
|
|
- wget: command not found [这里需要自己手动安装下wget]
|
2020-09-08 14:39:41 +08:00
|
|
|
|
|
2020-09-10 15:18:09 +08:00
|
|
|
|
## 安装脚本
|
2020-08-28 09:54:31 +08:00
|
|
|
|
```
|
2020-09-08 14:35:07 +08:00
|
|
|
|
wget -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod +x install.sh && ./install.sh
|
2020-08-28 09:54:31 +08:00
|
|
|
|
```
|
2020-09-06 11:29:17 +08:00
|
|
|
|
- 示例图
|
2020-09-08 14:36:04 +08:00
|
|
|
|
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install01.png" width=400>
|
|
|
|
|
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install02.png" width=400>
|
|
|
|
|
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install03.png" width=400>
|
2020-05-23 23:21:43 +08:00
|
|
|
|
|
2020-09-06 11:29:17 +08:00
|
|
|
|
# 2.手动自建教程
|
|
|
|
|
## 1.V2Ray
|
|
|
|
|
### 方法1(Flexible)【建议使用该方法】
|
2020-05-22 15:30:07 +08:00
|
|
|
|
- 只使用CloudFlare的证书
|
2020-09-06 11:29:17 +08:00
|
|
|
|
- 客户端->CloudFlare使用TLS+vmess加密,CloudFlare->VPS只使用vmess,[点击查看](https://github.com/mack-a/v2ray-agent/blob/master/documents/Cloudflare_Flexible.md)
|
2020-05-22 15:30:07 +08:00
|
|
|
|
- 不需要自己维护自己的https证书
|
|
|
|
|
- 少一步解析证书的过程,速度理论上会快一点
|
|
|
|
|
|
2020-09-06 11:29:17 +08:00
|
|
|
|
### 方法2(Full)
|
2020-05-22 15:30:07 +08:00
|
|
|
|
- 需要自己生成https证书,并自己维护,一般使用let's encrypt生成有效期为三个月。
|
2020-09-06 11:29:17 +08:00
|
|
|
|
- 客户端->CloudFlare使用CLoudFlare TLS+vmess加密,CloudFlare->VPS使用let's encrypt TLS+vmess加密,[点击查看](https://github.com/mack-a/v2ray-agent/blob/master/documents/Cloudflare_Full.md)
|
2020-05-22 15:30:07 +08:00
|
|
|
|
- 与方法1不同的是,CloudFlare和VPS通讯时也会使用TLS加密。两个方法安全方面区别不是很大。
|
|
|
|
|
|
2020-09-06 11:29:17 +08:00
|
|
|
|
### 方法3(Workers)
|
|
|
|
|
- [点击查看](https://github.com/mack-a/v2ray-agent/blob/master/documents/cloudflare_workers.md)
|