72 Commits
Author SHA1 Message Date
mack-a 11da068e9a sync: update English installer implementation 2026-09-01 00:21:40 +08:00
mack-a 7b151c9623 fix(sing-box): 将配置迁移至 1.14
fix(sing-box): 移除不需要的 Reality 目标
fix(reality): 为 Reality XHTTP 启用 ML-DSA-65
fix(reality): 设置兼容的最低客户端版本
2026-08-31 23:58:56 +08:00
mack-a 89388ca675 Merge pull request #1331 from zetaloop/fix-geosite-name-quotes
fix(脚本): 修复geosite组名带引号时无法识别
2026-08-03 22:55:53 +08:00
zetaloop 8cf91bb313 fix(脚本): 修复geosite组名带引号时无法识别 2026-08-02 02:42:41 +08:00
mack-a 85a2e32188 Merge branch 'master' of another.github.com:mack-a/v2ray-agent 2026-06-07 21:45:46 +08:00
mack-a c959c40b32 feat(脚本): 修复xray核心下载问题 2026-06-07 21:45:41 +08:00
mack-a e33374a74d Merge pull request #1318 from LiebeLee/fix/dns-api-non-wildcard-public-suffix
fix(脚本): 修复 DNS API 申请非通配符证书时仍签发根域导致失败
2026-06-07 21:41:43 +08:00
LiebeLee e53655d573 fix(脚本): 修复 DNS API 申请非通配符证书时仍签发根域导致失败的问题
acmeInstallSSL 在用户回答"是否使用 *.xxx 申请通配符证书 [y/n]"
为 n 时,仍然会向 acme.sh 追加 -d ${dnsTLSDomain},相当于同时
申请子域 + 根域两个证书。这导致使用 dpdns.org、is-a.dev 等
Public Suffix 上的子域时,CF / 阿里云 API 因无权操作根域 zone
直接返回 invalid domain,整体签发失败。

修复:仅当用户选择通配符(y)时才追加根域 -d,n 分支只签发用户
输入的子域。cloudflare 与 aliyun 两个分支同步修复,standalone
分支本就只签单域名,不受影响。

复现:
  域名: abc.dpdns.org
  选择 DNS API -> cloudflare -> 输入 CF Token
  是否使用 *.dpdns.org 通配符 [y/n]: n
  日志报错: invalid domain  _acme-challenge.dpdns.org
2026-06-03 23:32:59 +08:00
mack-a b87cc03a40 feat(脚本): docker 脚本增加订阅 2026-05-18 17:14:59 +08:00
mack-a f9c7c5f39b fix(脚本): 修复无法下载核心问题 2026-05-15 21:12:33 +08:00
mack-a 8e306bd987 feat(脚本): 增加docker reality 2026-05-12 17:22:33 +08:00
mack-a 617e30c2b0 fix(脚本): 修复黑名单下的直连名单(Apple、Google Play) 2026-05-06 16:47:41 +08:00
mack-a 609262f7ba fix(脚本): 修复xray-core核心下载问题 2026-05-06 16:30:58 +08:00
mack-a cae585704c fix(脚本): 修复xhttp clashverge无法使用问题 2026-04-21 00:54:48 +08:00
mack-a 77a39bd624 feat(脚本): 完善黑名单机制 2026-04-13 20:48:55 +08:00
mack-a d64843bbdd feat(脚本): 删除面板兼容、clashmeta增加xhttp、singbox增加sniff 2026-04-02 16:25:27 +08:00
mack-a 9d26d76060 fix(脚本): 修复xray无法读取publicKey的问题 2026-03-29 11:36:36 +08:00
mack-a e376117767 feat(脚本): 兼容sing-box最新版本、修复分流报错问题、移除reality相关域名 2026-03-27 16:48:04 +08:00
mack-a 773b1b7e32 feat(脚本): 增加一键无域名Reality 2026-02-03 20:03:31 +08:00
mack-a 63a292f4f2 feat(脚本): 移除allowInsecure 2026-02-03 19:09:01 +08:00
mack-a 04c35c73cb fix(脚本): 修复无法申请证书问题 2026-01-03 22:29:26 +08:00
mack-a f33a59bdac fix(脚本): 修复xhttp无法通过CDN的问题、修复sing-box特定协议无法删除用户问题、修复singbox无法删除anytls用户的问题 2026-01-02 21:40:46 +08:00
mack-a ebb1da4236 fix(脚本): 修复xray-core无域名reality无法访问问题 2025-12-24 21:33:16 +08:00
mack-a 27631e6b20 fix(脚本): 修复sing-box添加用户、删除用户导致的报错问题 2025-12-22 20:21:59 +08:00
mack-a 2ae6724d38 feat(脚本): 移除centos默认升级、移除semanage、修改centos关闭selinux文章、移除xray grpc相关协议 2025-12-17 21:39:29 +08:00
mack-a 0d7bccab48 fix(脚本): 修复xray-core用户管理报错问题 2025-12-13 19:14:02 +08:00
mack-a 78d9f38a89 fix(脚本): 修复socks5多次出站无法正常分流问题 2025-12-12 17:54:20 +08:00
mack-a 8cfb11fb0a fix(脚本): 修复安装hy2&tuic报错问题、优化增减用户订阅更新 2025-11-29 17:59:14 +08:00
mack-a 5a8d6d4c1f feat(脚本): 优化安装依赖 2025-11-28 13:26:59 +08:00
mack-a a06f082af6 feat(脚本): 更新reality域名、修改BBR、DD脚本 2025-11-22 22:00:33 +08:00
mack-a 0bd3474ab4 fix(脚本): 修复xhttp扫码配置 2025-11-21 14:35:41 +08:00
mack-a 1ca7059c46 feat(脚本): xray-core reality增加防止流量盗刷配置 2025-11-21 12:06:31 +08:00
mack-a c5bad68044 fix(脚本): 修复singbox anytls添加用户不成功问题、修复singbox证书过期无法生效问题 2025-11-08 21:54:41 +08:00
mack-a d0b957ede9 Merge branch 'master' of another.github.com:mack-a/v2ray-agent 2025-11-03 20:03:15 +08:00
mack-a 2748e17ebb feat(脚本): 更新core时增加展示最新版本 2025-11-03 20:02:57 +08:00
mack-a 66395525b2 Update README.md 2025-10-31 19:19:45 +08:00
mack-a 37294e19a4 feat(脚本): 更新sing-box至最新版本。 2025-10-29 15:10:24 +08:00
mack-a 2f265e7b40 fix(脚本): 修复特定协议下无法读取uuid的问题 2025-09-06 20:19:32 +08:00
mack-a 085e415255 feat(脚本): 兼容最新reality生成方式(xray-core) 2025-08-31 23:44:45 +08:00
mack-a 10ca4ff370 feat(脚本): 优化代码、增加自定义reality private key 2025-08-25 16:29:42 +08:00
mack-a 0c2ba09acf feat(脚本): 增加对mldsa65证书长度的判断 2025-08-25 12:55:17 +08:00
mack-a 540a49fd6f fix(脚本): 修复Mldsa65计算问题 2025-08-22 18:09:43 +08:00
mack-a 5f76d91240 fix(脚本): 修复sing-box DNS Timeout问题 2025-08-21 21:23:40 +08:00
mack-a 5af1423a0a feat(workflows): remove console 2025-08-19 21:54:01 +08:00
mack-a 84466cfff9 feat(workflows): update branch 2025-08-19 21:52:38 +08:00
mack-a b5081e9fe3 feat(workflows): add create release 2025-08-19 21:51:48 +08:00
mack-a 49a12b14cc feat(脚本): 修复因为sudo未安装导致脚本卡住问题 2025-08-19 16:10:02 +08:00
mack-a 987b2ccda5 feat(readme): update 2025-08-17 18:26:46 +08:00
mack-a 4128cca3cf Merge branch 'master' of github.com:mack-a/v2ray-agent 2025-08-16 17:03:12 +08:00
mack-a 9a889fd2a3 Merge pull request #1205 from zetaloop/fix-singbox-wireguard-endpoints-cleanup
fix(脚本): 修复sing-box下wireguard卸载时命名不一致
2025-08-16 17:02:55 +08:00
mack-a adae359ca4 feat(脚本): 增加anytls展示 2025-08-16 17:02:36 +08:00
mack-a e1ff4d189d feat(脚本): 修复ML-DSA-65 无法访问问题、修改README 2025-08-16 16:41:11 +08:00
zetaloop e5330845cf fix(脚本): 修复sing-box下wireguard卸载时命名不一致 2025-08-14 14:41:31 +08:00
mack-a 144f06ebf1 feat(readme): 修改内容 2025-08-13 23:04:12 +08:00
mack-a 5cb9119ea9 feat(脚本): 修复anytls展示问题、隐藏pqv参数 2025-08-13 19:33:28 +08:00
mack-a 4993b4e87b fix(脚本): 修复mldsa65不展示问题 2025-08-10 17:22:47 +08:00
mack-a 775028a35a feat(脚本): 优化端口开放逻辑 2025-08-08 20:48:11 +08:00
mack-a 55de7f6a7e feat(脚本): 完善singbox配置 2025-08-08 17:49:45 +08:00
mack-a 52d0aa0ec3 feat(脚本): 增加anytls 2025-08-05 17:51:18 +08:00
mack-a 6a196e418b feat(脚本): 增加xray-core mldsa65 2025-08-02 16:43:58 +08:00
mack-a 321a886bea fix(脚本): 修复安装卡住问题 2025-07-03 12:20:49 +08:00
mack-a ea2ef822c6 feat(脚本): 完善hy2和tuic的端口跳跃 2025-07-01 22:05:06 +08:00
mack-a 62dedc6bd5 feat(脚本): 增加版本号 2025-06-09 11:16:35 +08:00
mack-a dd6b918de2 Merge pull request #1174 from xem1987/patch-2
fix:1panel域名超过两位数选取一位数域名,域名校验报错
2025-06-09 11:14:09 +08:00
mack-a 30c47bf110 Merge pull request #1176 from OiAnthony/fix_alpine_check_system
Fix alpine check system
2025-06-09 11:13:34 +08:00
xem1987 c7bf23e648 Update install.sh
如果1panel网站域名多余10个,例如11个,那选择1的时候,会取到1和11两个网站,导致后面域名校验报错
2025-06-07 18:48:30 +08:00
Anthony 23ab06c0a0 feat(脚本): 添加openssl安装逻辑 2025-06-07 17:26:18 +08:00
Anthony 9fc5c833b7 fix(脚本): 优化Alpine系统判断逻辑 2025-06-07 17:26:17 +08:00
mack-a b0406e4221 fix(脚本): 修复xray-core无法使用vision的问题 2025-05-27 17:17:01 +08:00
mack-a 090990d93c feat(脚本): DNSAPI 申请证书时默认申请主域名 2025-05-14 16:08:19 +08:00
mack-a 7eef0d1e5c feat(脚本): 修复warp问题、修改系统判断 2025-05-12 16:39:27 +08:00
mack-a 4f4d441919 feat(脚本): 恢复singbox配置 2025-05-08 12:13:35 +08:00
10 changed files with 12676 additions and 5512 deletions
-1
View File
@@ -1 +0,0 @@
+80
View File
@@ -0,0 +1,80 @@
name: Release Check
on:
workflow_dispatch:
push:
branches:
- master
permissions:
contents: write
jobs:
check-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Read version from install.sh
id: version
run: |
FILE_VERSION=$(grep -oP '当前版本:v[0-9]+\.[0-9]+\.[0-9]+' install.sh | sed 's/当前版本://')
echo "file_version=$FILE_VERSION" >> $GITHUB_OUTPUT
echo $FILE_VERSION
- name: Get latest release
id: latest
uses: actions/github-script@v7
with:
script: |
const {data:latest} = await github.rest.repos.getLatestRelease({
owner: context.repo.owner,
repo: context.repo.repo
}).catch(() => ({ data: null }));
return latest ? latest.tag_name: "";
result-encoding: string
- name: Create release and cleanup old ones
if: ${{ steps.version.outputs.file_version != steps.latest.outputs.tag }}
uses: actions/github-script@v7
with:
script: |
const tag = "${{ steps.version.outputs.file_version }}";
const commits = await github.rest.repos.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
per_page: 1
});
const lastMessage = commits.data[0].commit.message;
const release = await github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: tag,
body: lastMessage
}).catch(err => console.log(`Skip release ${err.message}`));
const { data: releases } = await github.rest.repos.listReleases({
owner: context.repo.owner,
repo: context.repo.repo,
per_page: 100
});
console.log(`releases:${releases}`)
const oldReleases = releases.slice(3);
for (const rel of oldReleases) {
console.log(`🗑 Deleting old release ${rel.tag_name} (id=${rel.id})`);
await github.rest.repos.deleteRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: rel.id
}).catch(err => console.log(`Skip release ${rel.id}: ${err.message}`));
await github.rest.git.deleteRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `tags/${rel.tag_name}`
}).catch(err => console.log(`Skip tag ${rel.tag_name}: ${err.message}`));
}
+7
View File
@@ -1,4 +1,11 @@
# Created by .ignore support plugin (hsz.mobi) # Created by .ignore support plugin (hsz.mobi)
.idea .idea
fodder/.DS_Store fodder/.DS_Store
.github/FUNDING.yml
.DS_Store .DS_Store
GEMINI.md
GEMINI.zh-CN.md
AGENTS.md
.worktrees/
docs
.sisyphus
+58 -79
View File
@@ -1,106 +1,85 @@
# Xray-core/sing-box 一键脚本快速安装 # v2ray-agent
- [感谢 JetBrains 提供的非商业开源软件开发授权](https://www.jetbrains.com/?from=v2ray-agent) - [感谢 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)
- [VPS选购攻略,避坑指南](https://www.592083.xyz/archives/1679975663984)
- [TG频道](https://t.me/v2rayAgentChannel)、[TG群组](https://t.me/technologyshare)、[官方网站](https://www.592083.xyz/)
- [RackNerd低价AS4837套餐,年付10美起](https://www.592083.xyz/archives/racknerdtao-can-zheng-li-nian-fu-10mei-yuan)
- [传家宝级别搬瓦工(GIA、软银),强烈推荐](https://bandwagonhost.com/aff.php?aff=64917&pid=94)
- 终极套餐搬瓦工(GIA、软银、CMI),强烈推荐。[THE PLAN v1](https://bandwagonhost.com/aff.php?aff=64917&pid=144)、[THE PLAN v2](https://bandwagonhost.com/aff.php?aff=64917&pid=131)
- **请给个⭐支持一下** [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
[![Telegram Channel](https://img.shields.io/badge/Telegram-Channel-blue)](https://t.me/v2rayAgentChannel)
[![Telegram Group](https://img.shields.io/badge/Telegram-Group-blue)](https://t.me/technologyshare)
[![Official Website](https://img.shields.io/badge/Website-v2ray--agent.com-blue)](https://www.v2ray-agent.com/)
[![English Version](https://img.shields.io/badge/English-Version-blue)](documents/en/README_EN.md)
# 一、项目介绍 Xray-core/sing-box 一键脚本快速安装
## 核心
- Xray-core
- sing-box
## 协议
> 以下均使用TLS,支持多种协议组合
- VLESS(Reality、Vision(TCP)、WS、gRPC、XHTTP)
- VMess(TCP、WS、HTTPUpgrade)
- Trojan(TCP、gRPC)
- Hysteria2(sing-box)
- Tuic(sing-box)
- NaiveProxy(sing-box)
## 功能 ## 功能
- 支持不同核心之间的配置读取 * **多核心支持:** 支持 Xray-core 和 sing-box.
- 支持个性化安装单个协议 * **多协议支持:** 支持 VLESS, VMess, Trojan, Hysteria2, Tuic, NaiveProxy 等多种协议.
- [支持无域名版本的VLESS Reality搭建](https://www.592083.xyz/archives/1708584312877) * **自动TLS:** 自动申请和续订 SSL 证书.
- [支持多种分流用于解锁(wireguard、IPv6、Socks5、DNS、VMess(ws)、SNI反向代理)](https://www.592083.xyz/archives/ba-he-yi-jiao-ben-yu-ming-fen-liu-jiao-cheng) * **易于管理:** 提供简单的菜单来管理用户、端口和配置.
- [支持批量添加CDN节点并配合ClashMeta自动优选](https://www.592083.xyz/archives/1684858575649) * **订阅支持:** 生成和管理订阅链接.
- 支持普通证书和通配符证书自动申请及更新 * **分流管理:** 提供wireguard、IPv6、Socks5、DNS、VMess(ws)、SNI反向代理,可用于解锁流媒体、规避IP验证等作用.
- [支持订阅以及多VPS组合订阅](https://www.592083.xyz/archives/1681804748677) * **目标域名管理:** 提供域名黑名单管理,可用于禁止访问指定网站.
- 支持批量新增端口[仅支持Xray-core] * **BT下载管理:** 可用于禁止下载P2P相关内容.
- 支持核心的升级以及回退 * **更多内容请访问[官方网站](https://www.v2ray-agent.com/categories/jiao-cheng)、[备用](https://www.592083.com/categories/jiao-cheng)、[X](https://x.com/v2rayagent)**
- 支持自主更换伪装站点
- 支持BT下载管理以及域名黑名单管理
# 二、使用指南 ## 快速开始
- [八合一脚本从入门到精通](https://www.592083.xyz/archives/1710141233) ### 安装脚本版
- [脚本快速搭建教程](https://www.592083.xyz/archives/1682491479771)
- [垃圾VPS大救星,hysteria2最新协议一键搭建](https://www.592083.xyz/archives/1697162969693)
- [Tuic V5性能提升及使用方法](https://www.592083.xyz/archives/1687167522196)
- [Cloudflare优选IP、自动选择最快节点教程](https://www.592083.xyz/archives/1684858575649)
- [脚本使用注意事项](https://www.592083.xyz/archives/1679931532764)
- [脚本异常处理](https://www.592083.xyz/archives/1684115970026)
# 三、线路推荐
- [VPS选购指南,避坑指南](https://www.592083.xyz/archives/1679975663984)
## 1.高端
- [CN2 GIA](https://www.592083.xyz/tags/cn2-gia)
- [AS9929](https://www.592083.xyz/tags/as9929)
- [日本软银](https://www.592083.xyz/tags/ruan-yin)
## 2.性价比
- [AS4837](https://www.592083.xyz/tags/as4837)
- [CMI](https://www.592083.xyz/tags/cmi)
# 四、安装使用
## 1.下载脚本
- 支持快捷方式启动,安装完毕后,shell输入【**vasma**】即可打开脚本,脚本执行路径[**/etc/v2ray-agent/install.sh**]
- Github
``` ```
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 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
``` ```
- 官方网站【备用】 ### 使用
安装后,运行以下命令可再次打开管理菜单:
``` ```
wget -P /root -N --no-check-certificate "https://www.592083.xyz/v2ray-agent/install.sh" && chmod 700 /root/install.sh && /root/install.sh vasma
``` ```
## 2.使用 ### 安装Docker版
```
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/shell/docker_reality.sh" && chmod 700 /root/docker_reality.sh && /root/docker_reality.sh
```
# 五、反馈和建议 ### 使用
- 提交[issue](https://github.com/mack-a/v2ray-agent/issues)、[加入](https://t.me/technologyshare)群聊 * [Docker Reality 使用说明](https://www.v2ray-agent.com/archives/019e1b57-92b3-70ab-8919-cdf8c0bb4fe9)
# 六、捐赠 安装后,运行以下命令可再次打开管理菜单:
- 感谢您对开源项目的关注和支持。如果您觉得这个项目对您有帮助,欢迎通过以下方式进行捐赠。 ```
vasmad
```
- [购买VPS捐赠](https://www.592083.xyz/categories/vps) ## 文档和指南
- [通过虚拟币向我捐赠](https://www.592083.xyz/1679123834836) * [八合一脚本从入门到精通](https://www.v2ray-agent.com/archives/1710141233)
* [脚本快速搭建教程](https://www.v2ray-agent.com/archives/1682491479771)
* [脚本使用注意事项](https://www.v2ray-agent.com/archives/1679931532764)
* [脚本异常处理](https://www.v2ray-agent.com/archives/1684115970026)
* [VPS选购攻略](https://www.v2ray-agent.com/archives/1679975663984)
* [垃圾VPS大救星,hysteria2最新协议一键搭建](https://www.v2ray-agent.com/archives/1697162969693)
* [RackNerd低价 联通AS4837套餐,年付10美起](https://www.v2ray-agent.com/archives/racknerdtao-can-zheng-li-nian-fu-10mei-yuan)
* [搬瓦工优质套餐推荐](https://www.v2ray-agent.com/archives/2023nian-ban-wa-gong-ji-fang-tui-jian)
* [DMIT优质套餐推荐](https://www.v2ray-agent.com/archives/1679159868033)
# 七、许可证 ## 社区与支持
[AGPL-3.0](https://github.com/mack-a/v2ray-agent/blob/master/LICENSE) * **Telegram:** [频道](https://t.me/v2rayAgentChannel) | [群组](https://t.me/technologyshare)
* **网站:** [官网](https://www.v2ray-agent.com/) | [备用](https://www.592083.xyz/)
* **反馈:** [提交 issue](https://github.com/mack-a/v2ray-agent/issues)
* **X:** [链接](https://x.com/v2rayagent)
## 捐赠
感谢您对开源项目的关注和支持。如果您觉得这个项目对您有帮助,欢迎通过以下方式进行捐赠。
* [购买VPS捐赠](https://www.v2ray-agent.com/categories/vps)
* [通过虚拟币向我捐赠](https://www.v2ray-agent.com/1679123834836)
## 许可证
本项根据 [AGPL-3.0 许可证](LICENSE) 授权.
+49 -99
View File
@@ -1,119 +1,69 @@
# v2ray-agent # v2ray-agent
> [Thanks for non-commercial open source development authorization by JetBrains](https://www.jetbrains.com/?from=v2ray-agent) - [Thanks to JetBrains for providing non-commercial open source software development authorization](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) [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
[![Telegram Channel](https://img.shields.io/badge/Telegram-Channel-blue)](https://t.me/v2rayAgentChannel)
[![Telegram Group](https://img.shields.io/badge/Telegram-Group-blue)](https://t.me/technologyshare)
[![Official Website](https://img.shields.io/badge/Website-v2ray--agent.com-blue)](https://www.v2ray-agent.com/)
[![English Version](https://img.shields.io/badge/English-Version-blue)](documents/en/README_EN.md)
- [Cloudflare Optimization Solution](https://github.com/mack-a/v2ray-agent/blob/master/documents/optimize_V2Ray.md) Xray-core/sing-box One-click Quick Install Script
- [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 ## 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 * **Multi-core Support:** Supports Xray-core and sing-box.
* **Multi-protocol Support:** Supports various protocols like VLESS, VMess, Trojan, Hysteria2, Tuic, NaiveProxy.
* **Automatic TLS:** Automatically applies for and renews SSL certificates.
* **Easy Management:** Provides a simple menu to manage users, ports, and configurations.
* **Subscription Support:** Generates and manages subscription links.
* **Traffic Splitting Management:** Provides wireguard, IPv6, Socks5, DNS, VMess(ws), SNI reverse proxy, which can be used to unlock streaming media, evade IP verification, etc.
* **Target Domain Management:** Provides domain name blacklist management, which can be used to prohibit access to specified websites.
* **BT Download Management:** Can be used to prohibit the download of P2P-related content.
* **For more content, please visit the [Official Website](https://www.v2ray-agent.com/categories/jiao-cheng), [Backup](https://www.592083.com/categories/jiao-cheng)**
- VLESS+TCP+TLS ## Quick Start
- 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 ### Installation
- [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 bash 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
``` ```
### Usage
# example image After installation, run the following command to open the management menu again:
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install.jpg" width=700> ```
vasma
```
# licence ## Documentation and Guides
[AGPL-3.0](https://github.com/mack-a/v2ray-agent/blob/master/LICENSE) * [From Beginner to Master with the 8-in-1 Script](https://www.v2ray-agent.com/archives/1710141233)
* [Quick Script Setup Tutorial](https://www.v2ray-agent.com/archives/1682491479771)
* [Script Usage Precautions](https://www.v2ray-agent.com/archives/1679931532764)
* [Script Exception Handling](https://www.v2ray-agent.com/archives/1684115970026)
* [VPS Purchasing Guide](https://www.v2ray-agent.com/archives/1679975663984)
* [Junk VPS Savior, one-click setup of the latest hysteria2 protocol](https://www.v2ray-agent.com/archives/1697162969693)
* [RackNerd Low-cost Unicom AS4837 Package, starting from $10/year](https://www.v2ray-agent.com/archives/racknerdtao-can-zheng-li-nian-fu-10mei-yuan)
* [Recommended High-Quality Bandwagon Host Packages](https://www.v2ray-agent.com/archives/2023nian-ban-wa-gong-ji-fang-tui-jian)
* [Recommended High-Quality DMIT Packages](https://www.v2ray-agent.com/archives/1679159868033)
## Stargazers over time ## Community & Support
[![Stargazers over time](https://starchart.cc/mack-a/v2ray-agent.svg)](https://starchart.cc/mack-a/v2ray-agent) * **Telegram:** [Channel](https://t.me/v2rayAgentChannel) | [Group](https://t.me/technologyshare)
* **Website:** [Official](https://www.v2ray-agent.com/) | [Backup](https://www.592083.xyz/)
* **Feedback:** [Submit an issue](https://github.com/mack-a/v2ray-agent/issues)
## Donation
Thank you for your attention and support for this open source project. If you find this project helpful, you are welcome to donate in the following ways.
* [Donate by purchasing a VPS](https://www.v2ray-agent.com/categories/vps)
* [Donate to me via cryptocurrency](https://www.v2ray-agent.com/1679123834836)
## License
This project is licensed under the [AGPL-3.0 License](LICENSE).
+57 -41
View File
@@ -4,12 +4,18 @@
"level": "info", "level": "info",
"timestamp": true "timestamp": true
}, },
"http_clients": [
{
"tag": "rule_set_http",
"detour": "本地直连"
}
],
"experimental": { "experimental": {
"clash_api": { "clash_api": {
"external_controller": "127.0.0.1:9090", "external_controller": "127.0.0.1:9090",
"external_ui": "metacubexd", "external_ui": "metacubexd",
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip", "external_ui_download_url": "https://gh-proxy.com/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
"external_ui_download_detour": "手动切换", "external_ui_download_detour": "direct",
"default_mode": "rule" "default_mode": "rule"
}, },
"cache_file": { "cache_file": {
@@ -23,9 +29,9 @@
"type": "https", "type": "https",
"server": "1.1.1.1", "server": "1.1.1.1",
"server_port": 443, "server_port": 443,
"detour": "自动选择",
"path": "/dns-query", "path": "/dns-query",
"domain_resolver": "dns_resolver", "domain_resolver": "dns_resolver"
"strategy": "prefer_ipv4"
}, },
{ {
"tag": "dns_direct", "tag": "dns_direct",
@@ -33,45 +39,47 @@
"server": "dns.alidns.com", "server": "dns.alidns.com",
"server_port": 443, "server_port": 443,
"path": "/dns-query", "path": "/dns-query",
"domain_resolver": "dns_resolver", "domain_resolver": "dns_resolver"
"strategy": "prefer_ipv4"
}, },
{ {
"tag": "google", "tag": "google",
"type": "tls", "type": "tls",
"server": "8.8.4.4", "server": "8.8.4.4",
"domain_resolver": "dns_resolver", "domain_resolver": "dns_resolver"
"strategy": "prefer_ipv4"
}, },
{ {
"tag": "dns_resolver", "tag": "dns_resolver",
"address": "114.114.114.114", "type": "udp",
"strategy": "prefer_ipv4" "server": "114.114.114.114"
},
{
"type": "local",
"tag": "local"
} }
], ],
"rules": [ "rules": [
{ {
"action": "route",
"clash_mode": "direct", "clash_mode": "direct",
"server": "dns_direct" "server": "dns_direct"
}, },
{ {
"action": "route",
"clash_mode": "global", "clash_mode": "global",
"server": "dns_proxy" "server": "dns_proxy"
}, },
{ {
"action": "route",
"rule_set": "geosite-cn", "rule_set": "geosite-cn",
"server": "dns_direct" "server": "dns_direct"
}, },
{ {
"rule_set": "geoip-cn", "action": "route",
"server": "dns_direct"
},
{
"rule_set": "geosite-geolocation-!cn", "rule_set": "geosite-geolocation-!cn",
"server": "dns_proxy" "server": "dns_proxy"
} }
], ],
"independent_cache": true, "strategy": "prefer_ipv4",
"final": "dns_direct" "final": "dns_direct"
}, },
"inbounds": [ "inbounds": [
@@ -80,42 +88,34 @@
"tag": "tun-in", "tag": "tun-in",
"stack": "system", "stack": "system",
"address": [ "address": [
"172.16.0.1/30", "172.18.0.1/30",
"fd00::1/126" "fdfe:dcba:9876::1/126"
], ],
"mtu": 1492, "route_address": [
"0.0.0.0/1",
"128.0.0.0/1",
"::/1",
"8000::/1"
],
"route_exclude_address": [
"192.168.0.0/16",
"10.0.0.0/8",
"172.16.0.0/12",
"fc00::/7"
],
"mtu": 9000,
"auto_route": true, "auto_route": true,
"strict_route": true, "strict_route": true
"sniff": true,
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 1082
}
}
}, },
{ {
"type": "mixed", "type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1", "listen": "127.0.0.1",
"listen_port": 1082, "listen_port": 1082,
"sniff": true,
"users": [] "users": []
},
{
"type": "socks",
"tag": "socks-in",
"listen": "127.0.0.1",
"listen_port": 7888
} }
], ],
"outbounds": [ "outbounds": [
{
"domain_resolver": {
"server": "dns_direct",
"strategy": "prefer_ipv4"
}
},
{ {
"type": "urltest", "type": "urltest",
"tag": "自动选择", "tag": "自动选择",
@@ -215,6 +215,11 @@
} }
], ],
"route": { "route": {
"default_http_client": "rule_set_http",
"default_domain_resolver": {
"server": "dns_resolver",
"strategy": "prefer_ipv4"
},
"rule_set": [ "rule_set": [
{ {
"tag": "geosite-category-ads-all", "tag": "geosite-category-ads-all",
@@ -345,12 +350,23 @@
], ],
"rules": [ "rules": [
{ {
"action": "sniff" "inbound": "mixed-in",
"action": "sniff",
"timeout": "1s"
},
{
"inbound": "tun-in",
"action": "sniff",
"timeout": "1s"
}, },
{ {
"protocol": "dns", "protocol": "dns",
"action": "hijack-dns" "action": "hijack-dns"
}, },
{
"ip_is_private": true,
"outbound": "direct"
},
{ {
"clash_mode": "global", "clash_mode": "global",
"outbound": "手动切换" "outbound": "手动切换"
+1308 -1114
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Regular → Executable
+5926 -3904
View File
File diff suppressed because it is too large Load Diff