mirror of
https://github.com/mack-a/v2ray-agent.git
synced 2026-01-12 16:35:38 +08:00
feat(脚本): 清理history
This commit is contained in:
8
documents/donation.md
Normal file
8
documents/donation.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# 您可以通过虚拟向我捐赠
|
||||
|
||||
## Ethereum Mainnet/HECO/BSC
|
||||
- USDT/ETH/BNB/HT
|
||||
```
|
||||
0xB08b731653515b083deE362fefFc45d5eb96c35d
|
||||
```
|
||||
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/donation/main.png" width=300>
|
||||
224
documents/donation_aff.md
Normal file
224
documents/donation_aff.md
Normal file
@@ -0,0 +1,224 @@
|
||||
- [TG群](https://t.me/technologyshare)、[TG频道-更新通知](https://t.me/joinchat/VuYxsKnlIQp3VRw-)
|
||||
|
||||
> [更加详细的推荐可以点击查看](https://www.v2ray-agent.com/categories/vps)
|
||||
|
||||
# 网络差异比较大,买之前建议执行以下两个步骤
|
||||
- 测试一下testIP的丢包,traceroute一下testIP的路由,是否商家宣传的一样
|
||||
- 以下商家仅作为推荐,实际效果需自测
|
||||
- 便宜机器都可能会出现Google人机验证问题(因为滥用),可以套warp解决(脚本中有此功能)
|
||||
- 谨记一分钱一分货
|
||||
|
||||
<!-- more -->
|
||||
|
||||
# 1.CN2 GIA
|
||||
## 1.推荐理由
|
||||
- 可用作主力机
|
||||
- 电信国际精品网络,CN2线路中的顶级产品,回程基本全部走59.43高速节点
|
||||
- 线路一般比较稳定,延迟一般180ms以下,晚高峰基本上不丢包
|
||||
|
||||
## 2.推荐商家
|
||||
### 1.[搬瓦工](https://bandwagonhost.com/cart.php?aff=64917)
|
||||
- 老牌商家在vps圈声望比较高,非常稳定,补货后基本很快会被抢空
|
||||
- 6.81%折扣码:BWHNCXNVXV
|
||||
- 12%优惠码:BWHNY2022
|
||||
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|购买链接
|
||||
---|---|---|---|---|---|---|---
|
||||
CN2 GIA 限量版|1G|1核|20G|500G|1Gbps|89.99 USD/年|[购买链接](https://bandwagonhost.com/aff.php?aff=64917&pid=105)
|
||||
CN2 GIA|1G|2核|20G|1T|2.5Gbps|169.99 USD/年|[购买链接](https://bandwagonhost.com/aff.php?aff=64917&pid=87)
|
||||
HONG KONG CN2 GIA|2G|2核|40G|500G|1Gbps|$899.99 USD/年|[购买链接](https://bandwagonhost.com/aff.php?aff=64917&pid=95)
|
||||
|
||||
### 2.Gigsgigscloud
|
||||
- 老牌商家,成立较早,工单回复慢
|
||||
- 退款需要符合条件,需耐心等待,处理比较慢
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|折扣码|购买链接
|
||||
---|---|---|---|---|---|---|---|---
|
||||
LAX:SimpleCloud V01 电信gia 联通9929|500M|1核|20G|1T|1Gbps|12 USD/月|5% 折扣码 GYP1WPSCQV0T|[购买链接](https://clientarea.gigsgigscloud.com/?affid=3361)
|
||||
CLOUD V JP:Japan Tokyo Premium 三网 CN2 GIA|1G|1核|20G|250G|100Mbps|48 USD/月|5% 折扣码 03K5VKLPPALX|[购买链接](https://clientarea.gigsgigscloud.com/?affid=3361)
|
||||
|
||||
### 3.Dmit
|
||||
- 去程路由:电信联通走CN2 GIA,移动CMI
|
||||
- 回程路由:三网CN2 GIA
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|购买链接
|
||||
---|---|---|---|---|---|---|---
|
||||
LosAngles PVM.LAX.Pro.TINY|1G|1核|10G|650G|500Mbps|28.88 USD/季|[购买链接](https://www.dmit.io/aff.php?aff=3084&a=add&pid=100)
|
||||
|
||||
# 2.联通 AS9929(A网)
|
||||
|
||||
## 1.推荐理由
|
||||
- 价格略贵,可用作主力机,一般网络都很稳定
|
||||
- 相对于联通AS4837(民用),延迟更低、更稳定
|
||||
- 适合联通用户,同样也贵一些
|
||||
- 有些厂商三网回程都走AS9929,这样的商家同样比较适合移动和电信
|
||||
|
||||
## 2.推荐商家
|
||||
### 1.olink
|
||||
- 三网回程强制都走AS9929
|
||||
- 优惠一:终身九折折扣码 OLINK
|
||||
- 优惠二:
|
||||
```
|
||||
预计周期优惠:(可与优惠一叠加)
|
||||
半年付:仅需支付5个月(买半年只需要支付5个月) 半年付28刀 月均4.5刀
|
||||
年付:仅需支付9个月(买一年只需要支付9个月) 年付50刀 月均4刀多一点
|
||||
```
|
||||
- 在线测速:http://speedtest.olink.cloud
|
||||
- 测试 IP(美国圣何塞):104.165.62.200
|
||||
- 测试 IP(德国法兰克福):31.22.111.254
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|购买链接
|
||||
---|---|---|---|---|---|---|---
|
||||
San Jose Premium VPS|1G|1核|10G|500G|1Gbps|7 USD/月|[购买链接](https://www.olink.cloud/clients/aff.php?aff=281)
|
||||
|
||||
### 2.Gigsgigscloud
|
||||
- 老牌商家,成立较早,工单回复慢
|
||||
- 退款需要符合条件,需耐心等待,处理比较慢
|
||||
- 下面这个套餐只有联通是AS9929,电信是gia
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|折扣码|购买链接
|
||||
---|---|---|---|---|---|---|---|---
|
||||
LAX:SimpleCloud V01 电信gia 联通AS9929|500M|1核|20G|1T|1Gbps|12 USD/月|5% 折扣码 GYP1WPSCQV0T|[购买链接](https://clientarea.gigsgigscloud.com/?affid=3361)
|
||||
|
||||
|
||||
# 3.联通 AS4837(普通民用网)
|
||||
## 1.推荐理由
|
||||
- 价格便宜,当备用机很香,晚高峰视本地网络环境不同,可能略炸
|
||||
- 比如适合联通,电信尚可,一般都可以YouTube流畅1080p
|
||||
- 相对其他线路比较便宜,适合对网络要求不是特别高,预算有限的用户
|
||||
|
||||
|
||||
## 2.推荐商家
|
||||
|
||||
### 1.racknerd
|
||||
- 流量双向计费,比如3T实际可用1.5T
|
||||
- 洛杉矶动态路由,有时候会很拉垮
|
||||
- sanjose大概率会跳Google人机验证,可通过warp或者任意门解锁解决此问题
|
||||
|
||||
套餐名称|内存|CPU| 硬盘(SSD) |流量|带宽|价格|购买链接
|
||||
---|-------|---|---|---|---|---|---
|
||||
768 MB KVM VPS Special|768MB|1核| 10 GB NVMe SSD Storage |2T|1Gbps|$11.88 USD|[购买链接](https://my.racknerd.com/aff.php?aff=2705&pid=679)
|
||||
1 GB KVM VPS (New Year 2022)|1G|1核| 20 GB Pure SSD |2T|1Gbps|$13.98 USD|[购买链接](https://my.racknerd.com/aff.php?aff=2705&pid=621)
|
||||
1 GB KVM VPS Special |1G|1核| 20 GB SSD Cached RAID-10 Storage |3T|1Gbps|$14.98 USD|[购买链接](https://my.racknerd.com/aff.php?aff=2705&pid=680)
|
||||
2 GB KVM VPS Special |2G|2核| 25 GB Pure SSD |4T|1Gbps|$29.98 USD|[购买链接](https://my.racknerd.com/aff.php?aff=2705&pid=681)
|
||||
3 GB KVM VPS (New Year 2022)|3G|1核| 50 GB Pure SSD |6T|1Gbps|$31.98 USD|[购买链接](https://my.racknerd.com/aff.php?aff=2705&pid=623)
|
||||
|
||||
|
||||
### 2.dmit
|
||||
- 位置:sanjose
|
||||
- 流量双向计费
|
||||
- 联通4837,10Gbps超大带宽
|
||||
- 数据中心目前处于OpenBeta,不保证SLA
|
||||
- 新购享受年付7折优惠、半年付8折优惠
|
||||
- 年付七折优惠码:Lite-Annually-Recur-30OFF
|
||||
- 半年付八折优惠码:Lite-Semi-Annually-Recur-20OFF
|
||||
|
||||
#### 非使用优惠介绍
|
||||
- 如果再不使用优惠码的情况下订购年付产品可享受【买一赠一】
|
||||
- 赠品第一年免费(仅限首年,这意味着赠品也要求为年付)
|
||||
- 赠品可以拆分为多个订单(要求不高于原订单价格)
|
||||
- 赠品可以请求创建在其他账户(工单内备注)
|
||||
- 通过工单请求赠品,每个订单只允许请求一次,10月26日 23:59(UTC)之前提交工单,不支持TINY系列
|
||||
|
||||
套餐名称| 内存 |CPU|硬盘(SSD)|流量|带宽|价格|购买链接
|
||||
---|-------|---|---|---|---|---|---
|
||||
PVM.SJC.TINY| 768MB |1vCPU|10G|2T|10Gbps|$6.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=145)
|
||||
PVM.SJC.STARTER| 1.5G |1vCPU|20G|4T|10Gbps|$12.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=146)
|
||||
PVM.SJC.MINI| 2G |2vCPU|40G|6T|10Gbps|$21.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=147)
|
||||
PVM.SJC.MICRO| 4G |2vCPU|80G|8T|10Gbps|$32.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=148)
|
||||
PVM.SJC.MEDIUM| 4G |4vCPU|120G|12T|10Gbps|$49.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=149)
|
||||
PVM.SJC.LARGE| 8G |4vCPU|200G|22T|10Gbps|$99.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=150)
|
||||
PVM.SJC.GIANT| 16G |8vCPU|400G|44T|10Gbps|$199.9 USD/月|[点击购买](https://www.dmit.io/aff.php?aff=3084&a=add&pid=151)
|
||||
|
||||
|
||||
# 4.联通 日本软银
|
||||
|
||||
## 1.推荐理由
|
||||
- 可用作主力机
|
||||
- 线路一般比较稳定,延迟一般80ms以下,晚高峰基本上不丢包
|
||||
|
||||
## 2.推荐商家
|
||||
### 1.[搬瓦工](https://bandwagonhost.com/cart.php?aff=64917)
|
||||
- 老牌商家在vps圈声望比较高,非常稳定,补货后基本很快会被抢空
|
||||
- 不接受退款
|
||||
- 6.81%折扣码:BWHNCXNVXV
|
||||
- location是【JP-Equinix Osaka Softbank】
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|购买链接
|
||||
---|---|---|--|---|---|---|---
|
||||
软银/CN2 GIA 限量版|1G|1核|20G|500G|1Gbps|89.99 USD/年|[购买链接](https://bandwagonhost.com/aff.php?aff=64917&pid=105)
|
||||
软银/CN2 GIA|1G|2核|20G|1T|2.5Gbps|169.99 USD/年|[购买链接](https://bandwagonhost.com/aff.php?aff=64917&pid=87)
|
||||
软银/CN2 GIA|1G|3核|40G|2T|2.5Gbps|299.99 USD/年|[购买链接](https://bandwagonhost.com/aff.php?aff=64917&pid=88)
|
||||
|
||||
### 2.Gigsgigscloud
|
||||
- 老牌商家,成立较早,工单回复慢
|
||||
- 退款需要符合条件,需耐心等待,处理比较慢
|
||||
|
||||
套餐名称|内存|CPU|硬盘|流量|带宽|价格|折扣码|购买链接
|
||||
---|---|---|---|---|---|---|---|---
|
||||
CLOUD K JP: JAPAN TOKYO SOFTBANK IP TRANSIT|512M|1核|10G|500G|100Mbps|8.2 USD/月|5% 折扣码 0P559NYMKTTW|[购买链接](https://clientarea.gigsgigscloud.com/?affid=3361)
|
||||
|
||||
|
||||
# 5.CMI
|
||||
## 1.推荐理由
|
||||
- 回程三网CMI
|
||||
- 可用作主力机
|
||||
- 移动国际精品网络
|
||||
- 线路大多数情况下比较稳定,偶尔会被打
|
||||
|
||||
### 1.DMIT HongKong Lite
|
||||
- [TOS](https://t.me/DMIT_INC_CN/544)
|
||||
- 流量双向计费
|
||||
- 去程有可能更换
|
||||
- 线路实测为主
|
||||
- [speedtest](http://dmit-hkg-lite.gubo.org/speedtest/)
|
||||
- 不建议非移动用户购买
|
||||
- lite路由可能会随时更改,买之前请多次测试回程和去程路由
|
||||
- 测试ip:103.135.248.22
|
||||
|
||||
#### 去程
|
||||
|
||||
- 联通、电信 绕日NTT(4837->日本NTT->HK PCCW【2022-5-9】
|
||||
- 移动CMI
|
||||
|
||||
#### 回程
|
||||
- 移动CMI
|
||||
|
||||
#### 折扣码【仅适用于 STARTER 及以上规格的 Lite 产品,TINY 不包含在内】
|
||||
- 年付七折:Lite-Annually-Recur-30OFF
|
||||
- 半年付八折:Lite-Semi-Annually-Recur-20OFF
|
||||
|
||||
|
||||
|
||||
套餐名称| 内存 |CPU|硬盘(SSD)|流量|带宽|价格|购买链接
|
||||
---|---|---|---|---|---|---|---
|
||||
PVM.HKG.Lite.TINY| 0.75G |1 vCPU|10 GB SSD|2T|1Gbps|$6.9 USD/月|[购买链接](https://www.dmit.io/aff.php?aff=3084&a=add&pid=109)
|
||||
PVM.HKG.Lite.STARTER| 1.5G |1 vCPU|20 GB SSD|4T|1Gbps|$12.9 USD/月|[购买链接](https://www.dmit.io/aff.php?aff=3084&a=add&pid=110)
|
||||
PVM.HKG.Lite.MINI| 2G |2 vCPU|40 GB SSD|6T|2Gbps|$21.9 USD/月|[购买链接](https://www.dmit.io/aff.php?aff=3084&a=add&pid=111)
|
||||
PVM.HKG.Lite.MICRO| 4G |2 vCPU|60 GB SSD|8T|2Gbps|$32.9 USD/月|[购买链接](https://www.dmit.io/aff.php?aff=3084&a=add&pid=111)
|
||||
PVM.HKG.Lite.MINI| 4G |4 vCPU|80 GB SSD|6T|2Gbps|$49.9 USD/月|[购买链接](https://www.dmit.io/aff.php?aff=3084&a=add&pid=111)
|
||||
|
||||
|
||||
### 2.RFCHOST Hong Kong 3 Premium
|
||||
#### 去程【截止发文日期2022-4-19】
|
||||
|
||||
- 电信CN2-PCCW
|
||||
- 联通去程4837-4134-CN2-PCCW
|
||||
- 移动CMI
|
||||
|
||||
#### 回程
|
||||
- 三网CMI
|
||||
|
||||
#### 折扣码(九折)
|
||||
- hkg3openup
|
||||
|
||||
#### TestIP
|
||||
- 199.15.77.1
|
||||
|
||||
|
||||
套餐名称| 内存 |CPU|硬盘(SSD)|流量|带宽|价格|购买链接
|
||||
---|---|---|---|---|---|---|---
|
||||
HKG3-Premium-Micro| 512MB |1 CPU|8 GB SSD|500G(只计算出方向流量)|500Mbps|$9.9 USD/月|[购买链接](https://my.rfchost.com/aff.php?aff=899)
|
||||
HKG3-Premium-Mini| 1.5G |1 CPU|10 GB SSD|1T|1Gbps|$12.99 USD/月|[购买链接](https://my.rfchost.com/aff.php?aff=899)
|
||||
HKG3-Premium-Medium| 2G |2 CPU|20 GB SSD|2T|1Gbps|$21.9 USD/月|[购买链接](https://my.rfchost.com/aff.php?aff=899)
|
||||
119
documents/en/README_EN.md
Normal file
119
documents/en/README_EN.md
Normal file
@@ -0,0 +1,119 @@
|
||||
# v2ray-agent
|
||||
|
||||
> [Thanks for non-commercial open source development authorization by 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)
|
||||
|
||||
> [English Version](https://github.com/mack-a/v2ray-agent/blob/master/documents/en/README_EN.md)
|
||||
|
||||
- [Cloudflare Optimization Solution](https://github.com/mack-a/v2ray-agent/blob/master/documents/optimize_V2Ray.md)
|
||||
- [Traffic Relay](https://github.com/mack-a/v2ray-agent/blob/master/documents/traffic_relay.md)
|
||||
- [manual self-build tutorial](https://github.com/mack-a/v2ray-agent/blob/master/documents/Cloudflare_install_manual.md)
|
||||
- [ssh introductory tutorial](https://www.v2ray-agent.com/2020-12-16-ssh%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B)
|
||||
|
||||
- [TG group](https://t.me/technologyshare), [TG channel-update notification](https://t.me/v2rayAgentChannel), [blog address](https://www.v2ray-agent.com/)
|
||||
- **Please give a ⭐ support**
|
||||
|
||||
* * *
|
||||
|
||||
# Catalog
|
||||
|
||||
- [1.Script installation](#1vlesstcptlsvlesswstlsvmesstcptlsvmesswstlstrojan-camouflage site-five-in-one coexistence script)
|
||||
- [Features](#Features)
|
||||
- [Notes](#Notes)
|
||||
- [Installation Script](#installation-script)
|
||||
|
||||
* * *
|
||||
|
||||
# 1.Eight-in-one coexistence script+ Mock Site
|
||||
|
||||
- [Cloudflare Getting Started Tutorial](https://github.com/mack-a/v2ray-agent/blob/master/documents/cloudflare_init.md)
|
||||
|
||||
## Features
|
||||
- Support [Xray-core[XTLS]](https ://github.com/XTLS/Xray-core), [v2ray-core](https://github.com/v2fly/v2ray-core)
|
||||
- support VLESS/VMess/trojan protocol
|
||||
- supports VLESS/Trojan prepending [VLESS XTLS -> Trojan XTLS], [Trojan XTLS -> VLESS XTLS]
|
||||
- Support mutual reading of configuration files between different cores
|
||||
- Trojan+TCP+xtls-rprx-direct
|
||||
- Support Debian, Ubuntu, Centos systems and mainstream CPU architectures.
|
||||
- Support any combination of installation, support for multi-user management, support for DNS streaming media unlock, support for adding multiple ports, [support any door to unlock Netflix](https://github.com/mack-a/v2ray-agent/blob/master/documents/netflix/dokodemo-unblock_netflix.md)
|
||||
- support to keep tls certificate after uninstall
|
||||
- support for IPv6, [IPv6 note](https://github.com/mack-a/v2ray-agent/blob/master/documents/ipv6_help.md)
|
||||
- Support WARP offload, IPv6 offload
|
||||
- Support BT download management, log management, domain name blacklist management, core management, camouflage site management
|
||||
- [Support custom certificate installation](https://github.com/mack-a/v2ray-agent/blob/master/documents/install_tls.md)
|
||||
|
||||
## Supported installation types
|
||||
|
||||
- VLESS+TCP+TLS
|
||||
- VLESS+TCP+xtls-rprx-direct
|
||||
- VLESS+gRPC+TLS [support CDN, IPv6, delay Low]
|
||||
- VLESS+WS+TLS [support CDN, IPv6]
|
||||
- Trojan+TCP+TLS [**recommended**]
|
||||
- Trojan+gRPC+TLS [support CDN, IPv6, low latency]
|
||||
- VMess+WS+TLS [support CDN, IPv6]
|
||||
|
||||
## Route recommendation
|
||||
|
||||
- [CN2 GIA](https://github.com/mack-a/v2ray-agent/blob/master/documents/donation_aff.md#1cn2-gia)
|
||||
- Shanghai CN2+HK
|
||||
- [AS9929]( https://github.com/mack-a/v2ray-agent/blob/master/documents/donation_aff.md#2%E8%81%94%E9%80%9A-as9929a%E7%BD%91)
|
||||
- [AS4837](https://github.com/mack-a/v2ray-agent/blob/master/documents/donation_aff.md#3%E8%81%94%E9%80%9A-as4837%E6%99%AE%E9%80%9A%E6%B0%91%E7%94%A8%E7%BD%91)
|
||||
- [Unicom Japan Softbank](https://github.com/mack-a/v2ray-agent/blob/master/documents/donation_aff.md#4%E8%81%94%E9%80%9A-%E6%97%A5%E6%9C%AC%E8%BD%AF%E9%93%B6)
|
||||
- Unicom+ Taiwan TFN
|
||||
- China Unicom+NTT
|
||||
- Guangzhou Mobile/Zhushift+HKIX/CMI/NTT
|
||||
- Guangzhou Mobile/CN2+Cloudflare+ Global
|
||||
- Guangzhou Mobile/CN2/South Union+Hong Kong AZ+Global
|
||||
- Transit+cloudflare+Landing Machine【Kela Global】
|
||||
|
||||
## Precautions
|
||||
|
||||
- **Modify Cloudflare->SSL/TLS->Overview->Full**
|
||||
- **Cloudflare ---> Clouds parsed by A record must be gray [if not gray, it will affect the automatic renewal certificate of scheduled tasks]**
|
||||
- **If you use CDN and direct connection at the same time, turn off Yunduo + self-selected IP, refer to the above [Cloudflare optimization plan](https://github.com/mack-a/v2ray-agent/blob/master/documents/optimize_V2Ray.md)**
|
||||
- **Use the pure system to install, if you have installed it with other scripts and you cannot modify the error yourself, please reinstall the system and try to install again**
|
||||
- wget: command not found [**Here you need to do it manually Install wget**]
|
||||
, if you have not used Linux, [click to view](https://github.com/mack-a/v2ray-agent/tree/master/documents/install_tools.md) installation tutorial
|
||||
- does not support non- root account
|
||||
- **If you find Nginx-related problems, please uninstall the self-compiled nginx or reinstall the system**
|
||||
- **In order to save time, please bring detailed screenshots or follow the template specifications for feedback, no screenshots or issues that do not follow the specifications Will be closed directly**
|
||||
- **Not recommended for GCP users**
|
||||
- **Oracle Cloud has an additional firewall that needs to be set manually**
|
||||
- **Centos and lower versions of the system are not recommended, if the Centos installation fails, please switch to Debian10 and try again, the script no longer supports Centos6 , Ubuntu 16.x**
|
||||
- **[If you don't understand the usage, please check the script usage guide first](https://github.com/mack-a/v2ray-agent/blob/master/documents/how_to_use.md)**
|
||||
- ** Oracle Cloud only supports Ubuntu**
|
||||
- **If you use gRPC to forward through cloudflare, you need to allow gRPC in cloudflare settings, path: cloudflare Network->gRPC**
|
||||
- **gRPC is currently in beta and may not work for the client you use Compatible, if you can't use it, please ignore **
|
||||
- ** The problem that the lower version script cannot be started when upgrading the higher version, [please click this link to view the solution](https://github.com/mack-a/v2ray-agent/blob/master/documents/how_to_use.md#4%E4%BD%8E%E7%89%88%E6%9C%AC%E5%8D%87%E7%BA%A7%E9%AB%98%E7%89%88%E6%9C%AC%E5%90%8E%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E6%A0%B8%E5%BF%83)**
|
||||
|
||||
## Donate
|
||||
|
||||
[You can use my AFF to buy VPS donation-blog](https://www.v2ray-agent.com/%E6%82%A8%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%E6%88%91%E7%9A%84AFF%E8%B4%AD%E4%B9%B0vps%E6%8D%90%E8%B5%A0)
|
||||
|
||||
[You can use my AFF to buy VPS donations - Github](https://github.com/mack-a/v2ray-agent/blob/master/documents/donation_aff.md)
|
||||
|
||||
[Support donations to me via virtual currency](https://github.com/mack-a/v2ray-agent/blob/master/documents/donation.md)
|
||||
|
||||
## Installation script
|
||||
|
||||
- supports shortcut startup, after installation, enter [**vasma**] in the shell You can open the script, the script execution path [**/etc/v2ray-agent/install.sh**]
|
||||
|
||||
- Latest Version [recommended]
|
||||
|
||||
```
|
||||
wget -P/root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/shell/install_en.sh" && mv /root/install_en.sh /root/install.sh && chmod 700 /root/install.sh &&/root/install.sh
|
||||
```
|
||||
|
||||
|
||||
# example image
|
||||
|
||||
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install.jpg" width=700>
|
||||
|
||||
# licence
|
||||
|
||||
[AGPL-3.0](https://github.com/mack-a/v2ray-agent/blob/master/LICENSE)
|
||||
|
||||
## Stargazers over time
|
||||
|
||||
[](https://starchart.cc/mack-a/v2ray-agent)
|
||||
15
documents/install_tools.md
Normal file
15
documents/install_tools.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 安装wget、curl
|
||||
- Centos
|
||||
```
|
||||
yum update && yum install -y wget curl
|
||||
```
|
||||
|
||||
- Debian
|
||||
```
|
||||
apt update && apt install wget curl -y
|
||||
```
|
||||
|
||||
- Ubuntu
|
||||
```
|
||||
apt-get update && apt-get install wget -y
|
||||
```
|
||||
43
documents/nginx_proxy.md
Normal file
43
documents/nginx_proxy.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# 1.打开Nginx配置文件
|
||||
|
||||
```
|
||||
vim /etc/nginx/conf.d/alone.conf
|
||||
```
|
||||
|
||||
# 2.添加配置
|
||||
|
||||
- 如需配置HTTP1.1,找到31300端口所在的server【文件最后,非return 403那条】
|
||||
- 如需配置HTTP2.0,找到31302端口所在的server
|
||||
|
||||
> 下方使用配置HTTP1.1反向代理作为示例
|
||||
|
||||
```
|
||||
# 如果要添加到根路由,则添加到localtion /下面
|
||||
location / {
|
||||
add_header Strict-Transport-Security "max-age=15552000; preload" always;
|
||||
proxy_pass http://127.0.0.1:3003/;
|
||||
}
|
||||
|
||||
# 如果只需要添加额外的路径,则额外写一个location,路径可自定义
|
||||
location /test {
|
||||
proxy_pass http://127.0.0.1:3003/;
|
||||
}
|
||||
|
||||
# 完整配置,HTTP2.0则同理,写入到31302端口所在的server即可
|
||||
server {
|
||||
listen 127.0.0.1:31300;
|
||||
server_name xx;
|
||||
root /usr/share/nginx/html;
|
||||
location /s/ {
|
||||
add_header Content-Type text/plain;
|
||||
alias /etc/v2ray-agent/subscribe/;
|
||||
}
|
||||
location / {
|
||||
add_header Strict-Transport-Security "max-age=15552000; preload" always;
|
||||
proxy_pass http://127.0.0.1:3003/;
|
||||
}
|
||||
location /test {
|
||||
proxy_pass http://127.0.0.1:3003/;
|
||||
}
|
||||
}
|
||||
```
|
||||
1
documents/optimize_V2Ray.md
Normal file
1
documents/optimize_V2Ray.md
Normal file
@@ -0,0 +1 @@
|
||||
内容转移至此[教程](https://www.v2ray-agent.com/archives/cloudflarezi-xuan-ip)
|
||||
452
documents/sing-box.json
Normal file
452
documents/sing-box.json
Normal file
@@ -0,0 +1,452 @@
|
||||
{
|
||||
"log": {
|
||||
"disabled": false,
|
||||
"level": "info",
|
||||
"timestamp": true
|
||||
},
|
||||
"experimental": {
|
||||
"clash_api": {
|
||||
"external_controller": "127.0.0.1:9090",
|
||||
"external_ui": "metacubexd",
|
||||
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
|
||||
"external_ui_download_detour": "手动切换",
|
||||
"default_mode": "rule"
|
||||
},
|
||||
"cache_file": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"dns": {
|
||||
"servers": [
|
||||
{
|
||||
"tag": "dns_proxy",
|
||||
"address": "https://1.1.1.1/dns-query",
|
||||
"address_resolver": "dns_resolver",
|
||||
"strategy": "ipv4_only",
|
||||
"detour": "手动切换"
|
||||
},
|
||||
{
|
||||
"tag": "dns_direct",
|
||||
"address": "h3://dns.alidns.com/dns-query",
|
||||
"address_resolver": "dns_resolver",
|
||||
"strategy": "ipv4_only",
|
||||
"detour": "direct"
|
||||
},
|
||||
{
|
||||
"tag": "google",
|
||||
"address": "tls://8.8.4.4"
|
||||
},
|
||||
{
|
||||
"tag": "dns_block",
|
||||
"address": "rcode://success"
|
||||
},
|
||||
{
|
||||
"tag": "dns_resolver",
|
||||
"address": "114.114.114.114",
|
||||
"strategy": "ipv4_only",
|
||||
"detour": "direct"
|
||||
}
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"outbound": "any",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"clash_mode": "direct",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"clash_mode": "global",
|
||||
"server": "dns_proxy"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-cn",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"rule_set": "geoip-cn",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-geolocation-!cn",
|
||||
"server": "dns_proxy"
|
||||
}
|
||||
],
|
||||
"independent_cache": true,
|
||||
"final": "dns_direct"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "tun",
|
||||
"tag": "tun-in",
|
||||
"stack": "system",
|
||||
"inet4_address": "172.19.0.1/30",
|
||||
"auto_route": true,
|
||||
"strict_route": true,
|
||||
"sniff": true,
|
||||
"platform": {
|
||||
"http_proxy": {
|
||||
"enabled": true,
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 1082
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "mixed",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 1082,
|
||||
"sniff": true,
|
||||
"users": []
|
||||
},
|
||||
{
|
||||
"type": "socks",
|
||||
"tag": "socks-in",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 7888
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "urltest",
|
||||
"tag": "自动选择",
|
||||
"outbounds": [
|
||||
],
|
||||
"url": "https://www.gstatic.com/generate_204",
|
||||
"interval": "3m",
|
||||
"tolerance": 50,
|
||||
"interrupt_exist_connections": false
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "手动切换",
|
||||
"outbounds": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "Telegram",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "YouTube",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "netflix",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "OpenAI",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "Apple",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "Google",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "Microsoft",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "Github",
|
||||
"outbounds": [
|
||||
"手动切换",
|
||||
"自动选择",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "本地直连",
|
||||
"outbounds": [
|
||||
"direct",
|
||||
"手动切换",
|
||||
"自动选择"
|
||||
],
|
||||
"default": "direct"
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "reject",
|
||||
"outbounds": [
|
||||
"block",
|
||||
"direct"
|
||||
],
|
||||
"default": "block"
|
||||
},
|
||||
{
|
||||
"tag": "direct",
|
||||
"type": "direct"
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"type": "block"
|
||||
},
|
||||
{
|
||||
"tag": "dns",
|
||||
"type": "dns"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"rule_set": [
|
||||
{
|
||||
"tag": "geosite-category-ads-all",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-ads-all.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-telegram",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geoip-telegram",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-youtube",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/youtube.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-netflix",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/netflix.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geoip-netflix",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/netflix.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-openai@ads",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/openai@ads.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-openai",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/openai.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-apple",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-google",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geoip-google",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/google.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-microsoft",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-geolocation-!cn",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-github",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/github.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-private",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/private.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-cn",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geoip-private",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/private.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geoip-cn",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs",
|
||||
"update_interval": "1d"
|
||||
}
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"clash_mode": "global",
|
||||
"outbound": "手动切换"
|
||||
},
|
||||
{
|
||||
"clash_mode": "direct",
|
||||
"outbound": "本地直连"
|
||||
},
|
||||
{
|
||||
"protocol": "dns",
|
||||
"outbound": "dns"
|
||||
},
|
||||
{
|
||||
"type": "logical",
|
||||
"mode": "or",
|
||||
"rules": [
|
||||
{
|
||||
"rule_set": "geosite-category-ads-all"
|
||||
},
|
||||
{
|
||||
"domain_regex": "^stun\\..+"
|
||||
},
|
||||
{
|
||||
"domain_keyword": [
|
||||
"stun",
|
||||
"httpdns"
|
||||
]
|
||||
},
|
||||
{
|
||||
"protocol": "stun"
|
||||
}
|
||||
],
|
||||
"outbound": "block"
|
||||
},
|
||||
{
|
||||
"rule_set": [
|
||||
"geosite-telegram",
|
||||
"geoip-telegram"
|
||||
],
|
||||
"outbound": "Telegram"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-youtube",
|
||||
"outbound": "YouTube"
|
||||
},
|
||||
{
|
||||
"rule_set": [
|
||||
"geosite-netflix",
|
||||
"geoip-netflix"
|
||||
],
|
||||
"outbound": "netflix"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-openai@ads",
|
||||
"outbound": "block"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-openai",
|
||||
"outbound": "OpenAI"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-apple",
|
||||
"outbound": "Apple"
|
||||
},
|
||||
{
|
||||
"rule_set": [
|
||||
"geosite-google",
|
||||
"geoip-google"
|
||||
],
|
||||
"outbound": "Google"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-microsoft",
|
||||
"outbound": "Microsoft"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-github",
|
||||
"outbound": "Github"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-geolocation-!cn",
|
||||
"outbound": "手动切换"
|
||||
},
|
||||
{
|
||||
"rule_set": [
|
||||
"geosite-private",
|
||||
"geosite-cn",
|
||||
"geoip-private",
|
||||
"geoip-cn"
|
||||
],
|
||||
"outbound": "本地直连"
|
||||
}
|
||||
],
|
||||
"final": "本地直连",
|
||||
"auto_detect_interface": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user