mirror of
https://github.com/mack-a/v2ray-agent.git
synced 2026-09-02 22:06:36 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
170bf2ec88 | ||
|
|
7c9186c32d |
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
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}`));
|
|
||||||
}
|
|
||||||
@@ -1,11 +1,4 @@
|
|||||||
# 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
|
|
||||||
|
|||||||
@@ -1,85 +1,106 @@
|
|||||||
# v2ray-agent
|
# Xray-core/sing-box 一键脚本快速安装
|
||||||
|
|
||||||
- [感谢 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)
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/agpl-3.0)
|
- **请给个⭐支持一下**
|
||||||
[](https://t.me/v2rayAgentChannel)
|
|
||||||
[](https://t.me/technologyshare)
|
|
||||||
[](https://www.v2ray-agent.com/)
|
|
||||||
[](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 等多种协议.
|
- 支持个性化安装单个协议
|
||||||
* **自动TLS:** 自动申请和续订 SSL 证书.
|
- [支持无域名版本的VLESS Reality搭建](https://www.592083.xyz/archives/1708584312877)
|
||||||
* **易于管理:** 提供简单的菜单来管理用户、端口和配置.
|
- [支持多种分流用于解锁(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)
|
||||||
* **BT下载管理:** 可用于禁止下载P2P相关内容.
|
- 支持批量新增端口[仅支持Xray-core]
|
||||||
* **更多内容请访问[官方网站](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
|
||||||
```
|
```
|
||||||
|
|
||||||
### 使用
|
- 官方网站【备用】
|
||||||
|
|
||||||
安装后,运行以下命令可再次打开管理菜单:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
vasma
|
wget -P /root -N --no-check-certificate "https://www.592083.xyz/v2ray-agent/install.sh" && chmod 700 /root/install.sh && /root/install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 安装Docker版
|
## 2.使用
|
||||||
```
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
### 使用
|
# 五、反馈和建议
|
||||||
|
|
||||||
* [Docker Reality 使用说明](https://www.v2ray-agent.com/archives/019e1b57-92b3-70ab-8919-cdf8c0bb4fe9)
|
- 提交[issue](https://github.com/mack-a/v2ray-agent/issues)、[加入](https://t.me/technologyshare)群聊
|
||||||
|
|
||||||
安装后,运行以下命令可再次打开管理菜单:
|
# 六、捐赠
|
||||||
|
|
||||||
```
|
- 感谢您对开源项目的关注和支持。如果您觉得这个项目对您有帮助,欢迎通过以下方式进行捐赠。
|
||||||
vasmad
|
|
||||||
```
|
|
||||||
|
|
||||||
## 文档和指南
|
- [购买VPS捐赠](https://www.592083.xyz/categories/vps)
|
||||||
|
|
||||||
* [八合一脚本从入门到精通](https://www.v2ray-agent.com/archives/1710141233)
|
- [通过虚拟币向我捐赠](https://www.592083.xyz/1679123834836)
|
||||||
* [脚本快速搭建教程](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)
|
|
||||||
|
|
||||||
## 社区与支持
|
# 七、许可证
|
||||||
|
|
||||||
* **Telegram:** [频道](https://t.me/v2rayAgentChannel) | [群组](https://t.me/technologyshare)
|
[AGPL-3.0](https://github.com/mack-a/v2ray-agent/blob/master/LICENSE)
|
||||||
* **网站:** [官网](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) 授权.
|
|
||||||
|
|||||||
+99
-49
@@ -1,69 +1,119 @@
|
|||||||
# v2ray-agent
|
# 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)
|
||||||
|
|
||||||
|
> [Thanks for non-commercial open source development authorization by JetBrains]( https://www.jetbrains.com/?from=v2ray-agent)
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/agpl-3.0)
|
> [English Version](https://github.com/mack-a/v2ray-agent/blob/master/documents/en/README_EN.md)
|
||||||
[](https://t.me/v2rayAgentChannel)
|
|
||||||
[](https://t.me/technologyshare)
|
|
||||||
[](https://www.v2ray-agent.com/)
|
|
||||||
[](documents/en/README_EN.md)
|
|
||||||
|
|
||||||
Xray-core/sing-box One-click Quick Install Script
|
- [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
|
## 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)
|
||||||
|
|
||||||
* **Multi-core Support:** Supports Xray-core and sing-box.
|
## Supported installation types
|
||||||
* **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)**
|
|
||||||
|
|
||||||
## Quick Start
|
- 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]
|
||||||
|
|
||||||
### Installation
|
## 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]
|
||||||
|
|
||||||
```
|
```
|
||||||
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
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
### Usage
|
|
||||||
|
|
||||||
After installation, run the following command to open the management menu again:
|
# example image
|
||||||
|
|
||||||
```
|
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/install.jpg" width=700>
|
||||||
vasma
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation and Guides
|
# licence
|
||||||
|
|
||||||
* [From Beginner to Master with the 8-in-1 Script](https://www.v2ray-agent.com/archives/1710141233)
|
[AGPL-3.0](https://github.com/mack-a/v2ray-agent/blob/master/LICENSE)
|
||||||
* [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)
|
|
||||||
|
|
||||||
## Community & Support
|
## Stargazers over time
|
||||||
|
|
||||||
* **Telegram:** [Channel](https://t.me/v2rayAgentChannel) | [Group](https://t.me/technologyshare)
|
[](https://starchart.cc/mack-a/v2ray-agent)
|
||||||
* **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).
|
|
||||||
|
|||||||
+54
-30
@@ -4,18 +4,12 @@
|
|||||||
"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://gh-proxy.com/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
|
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
|
||||||
"external_ui_download_detour": "direct",
|
"external_ui_download_detour": "手动切换",
|
||||||
"default_mode": "rule"
|
"default_mode": "rule"
|
||||||
},
|
},
|
||||||
"cache_file": {
|
"cache_file": {
|
||||||
@@ -29,8 +23,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",
|
||||||
|
"strategy": "prefer_ipv4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tag": "dns_direct",
|
"tag": "dns_direct",
|
||||||
@@ -38,53 +33,89 @@
|
|||||||
"server": "dns.alidns.com",
|
"server": "dns.alidns.com",
|
||||||
"server_port": 443,
|
"server_port": 443,
|
||||||
"path": "/dns-query",
|
"path": "/dns-query",
|
||||||
"domain_resolver": "local"
|
"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",
|
||||||
|
"strategy": "prefer_ipv4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "local",
|
"tag": "dns_resolver",
|
||||||
"tag": "local"
|
"address": "114.114.114.114",
|
||||||
|
"strategy": "prefer_ipv4"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"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"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"action": "route",
|
"rule_set": "geoip-cn",
|
||||||
|
"server": "dns_direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
"rule_set": "geosite-geolocation-!cn",
|
"rule_set": "geosite-geolocation-!cn",
|
||||||
"server": "dns_proxy"
|
"server": "dns_proxy"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"strategy": "prefer_ipv4",
|
"independent_cache": true,
|
||||||
"final": "dns_direct"
|
"final": "dns_direct"
|
||||||
},
|
},
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"type": "tun",
|
||||||
|
"tag": "tun-in",
|
||||||
|
"stack": "system",
|
||||||
|
"address": [
|
||||||
|
"172.16.0.1/30",
|
||||||
|
"fd00::1/126"
|
||||||
|
],
|
||||||
|
"mtu": 1492,
|
||||||
|
"auto_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": "自动选择",
|
||||||
@@ -184,8 +215,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"route": {
|
"route": {
|
||||||
"default_http_client": "rule_set_http",
|
|
||||||
"default_domain_resolver": "local",
|
|
||||||
"rule_set": [
|
"rule_set": [
|
||||||
{
|
{
|
||||||
"tag": "geosite-category-ads-all",
|
"tag": "geosite-category-ads-all",
|
||||||
@@ -316,18 +345,12 @@
|
|||||||
],
|
],
|
||||||
"rules": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"inbound": "mixed-in",
|
"action": "sniff"
|
||||||
"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": "手动切换"
|
||||||
@@ -421,6 +444,7 @@
|
|||||||
"outbound": "本地直连"
|
"outbound": "本地直连"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"final": "本地直连"
|
"final": "本地直连",
|
||||||
|
"auto_detect_interface": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1113
-1325
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
Executable → Regular
+3888
-5928
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user