Giter VIP home page Giter VIP logo

argox's Introduction

【ArgoX】 = Argo + Xray


目录


更新信息

2024.3.26 v1.6.4 Thanks to UUb for the official change of the compilation, dependencies jq, qrencode from apt installation to download the binary file, reduce the installation time of about 15 seconds, the implementation of the project's positioning of lightweight, as far as possible to install the least system dependencies; 感谢 UUb 兄弟的官改编译,依赖 jq, qrencode 从 apt 安装改为下载二进制文件,缩减安装时间约15秒,贯彻项目轻量化的定位,尽最大可能安装最少的系统依赖

2024.3.24 v1.6.3 1. Compatible with CentOS 7,8,9; 2. Remove default Github CDN; 1. 适配 CentOS 7,8,9; 2. 去掉默认的 Github 加速网

2024.3.13 v1.6.2 1. Subscription made optional, no nginx and qrcode installed if not needed; 2. Use native IP if it supports unlocking chatGPT, otherwise use warp chained proxy unlocking; 1. 在线订阅改为可选项,如不需要,不安装 nginx 和 qrcode; 2. 如自身支持解锁 chatGPT,则使用原生 IP,否则使用 warp 链式代理解锁

2024.3.10 v1.6.1 1. To protect node data security, use fake information to fetch subscribe api; 2. Adaptive the above clients. https://<argo tunnel url>/<uuid>/<auto | auto2>; 1. 为保护节点数据安全,在 api 转订阅时,使用虚假信息; 2. 自适应以上的客户端,https://<argo tunnel url>/<uuid>/<auto | auto2>

历史更新 history(点击即可展开或收起)

2024.3.2 v1.6 1. Support V2rayN / Nekobox / Clash / sing-box / Shadowrocket subscribe. https://<argo tunnel url>/<uuid>/<base64 | clash | sing-box-pc | sing-box-phone | proxies | qr>. Index of all subscribes: https://<argo tunnel url>/<uuid>/ ; Reinstall is required; 2. Adaptive the above clients. https://<argo tunnel url>/<uuid>/<auto | auto2> ; 1. 增加 V2rayN / Nekobox / Clash / sing-box / Shadowrocket 订阅,https://<argo tunnel url>/<uuid>/<base64 | clash | sing-box-pc | sing-box-phone | proxies | qr>, 所有订阅的索引: https://<argo tunnel url>/<uuid>/,需要重新安装; 2. 自适应以上的客户端,https://<argo tunnel url>/<uuid>/<auto | auto2>

2024.2.6 V1.5 Argo run protocol uses default instead of http2. The default value is auto, what will automatically configure the quic protocol. If cloudflared is unable to establish UDP connections, it will fallback to using the http2 protocol; Argo 运行的协议使用默认值,而不是 http2。默认值为 auto,将自动配置 quic 协议。如果 cloudflared 无法建立 UDP 连接,它将回落到使用 http2 协议。

2023.10.25 V1.4 1. Support Reality-Vison and Reality-gRPC, Both are direct connect solutions; 2. Quick-tunnel through the API to check dynamic domain names1; 3. After installing, add [argox] shortcut; 4. Output the configuration for Sing-box Client; 1. 支持 Reality-Vison and Reality-gRPC,两个均为直连方案; 2. 临时隧道通过 API 查动态域名; 3. 安装后,增加 [argox] 的快捷运行方式; 4. 输出 Sing-box Client 的配置

2023.10.16 V1.3 1. Support Alpine; 2. Add Sing-box PID, runtime, and memory usage to the menu; 3. Remove the option of using warp on returning to China; 支持 Alpine; 2. 菜单中增加 sing-box 内存占用显示; 3. 去掉使用 warp 回国的选项

2023.10.11 V1.2 1. Add the option of blocking on returning to China; 2. Add a number of quality cdn's that are collected online; 3. Use Warp IPv6 to visit chatGPT; 1. 增加禁止归国选项; 2. 增加线上收录的若干优质 cdn 3. 使用 Warp IPv6 访问 chatGPT

2023.6.23 V1.1 For better network traffic diversion in various scenarios, split config.json into inbound.json and outbound.json; 为了更好的在各种情景下分流,把 config.json 拆分为 inbound.jsonoutbound.json

2023.4.13 1.0 正式版

2023.3.11 beta6 1. Users can easily obtain the JSON of a fixed domain name tunnel through the accompanying function website at https://fscarmen.cloudflare.now.cc ; 2. Change the sensitive path names; 3. Add CDN for download; 1. 用户可以通过配套的功能网轻松获取固定域名隧道的 json, https://fscarmen.cloudflare.now.cc; 2. 改掉敏感路径名; 3. 下载增加 CDN

2023.3.4 beta5 1. Change listening to all network addresses to only Argo tunnel directed listening for added security; 2. Argo Tunnel supports dualstack; 1. 把对所有的网络地址监听改为只对 Argo 隧道作定向监听,以增加安全性; 2. Argo 隧道支持双栈

2023.3.2 beta4 Change listening to all network addresses to only Argo tunnel directed listening for added security; 把对所有的网络地址监听改为只对 Argo 隧道作定向监听,以增加安全性

2023.2.24 beta3 1. Simplify the operation of changing argo tunnel; 2. Use wget global instead of cURL; 1. 简化转换 Argo 隧道的方法; 2. 全局用 wget 替代 cURL

2023.2.17 beta2 1. extremely fast installation mode, [-f] followed by a parameter file path; 2. Support for switching between the three argo tunnels; 3. Synchronise Argo and Xray to the latest version at any time; 4. Optimize the code to achieve speedup. 1.极速安装模式,[-f] 后带参数文件路径;2.安装后,支持三种argo隧道随意切换;3.随时同步Argo 和 Xray到最新版本;4.优化代码,达到提速的目的。

2023.2.16 beta1 Argo + Xray for vps

项目特点:

  • 在 VPS 中部署 Xray,采用的方案为 Argo + Xray + Reality / Argo + Xray + WebSocket + TLS;
  • 正常用 CF 是访问机房回源,Argo 则是每次创建两个反向链接到两个就近机房,然后回源是通过源服务器就近机房回源,其中用户访问机房到源服务器连接的就近机房之间是CF自己的黑盒线路;
  • 使用 CloudFlare 的 Argo 隧道,使用TLS加密通信,可以将应用程序流量安全地传输到Cloudflare网络,提高了应用程序的安全性和可靠性。此外,Argo Tunnel也可以防止IP泄露和DDoS攻击等网络威胁;
  • Argo 是内网穿透的隧道,既 Xray 的 inbound 不对外暴露端口增加安全性,也不用做伪装网浪费资源,还支持 Cloudflare 的全部端口,不会死守443被封,同时服务端输出 Argo Ws 数据流,大大简化数据处理流程,提高响应,tls 由 cf 提供,避免多重 tls;
  • Argo 隧道既支持临时隧道,又支持通过 Token 或者 cloudflared Cli 方式申请的固定域名,直接优选 + 隧道,不需要申请域名证书,并可以在安装后随时转换;
  • 同时支持 Xray 的直连协议: reality vison 和 reality gRPC; 以及 ws 回落分流的 4 种主流协议: vless / vmess / trojan / shadowsocks + WSS (ws + tls);
  • 内置 warp 链式代理解锁 chatGPT;
  • 节点信息输出到 V2rayN / Clash Meta / 小火箭 / Nekobox / Sing-box (SFI, SFA, SFM),订阅自动适配客户端,一个订阅 url 走天下;
  • 极速安装,即可交互式安装,也可像 docker compose 一样的非交互式安装,提前把所有的参数放到一个配置文件,全程不到5秒。

ArgoX for VPS 运行脚本:

bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/argox/main/argox.sh)
Option 参数 Remark 备注
-c Chinese 中文
-e English 英文
-a Argo on-off Argo 开关
-x Xray on-off Xray 开关
-s Change the Argo tunnel 更换 Argo 隧道
-f Variable file,refer to REPO file "config" 参数文件,可参数项目的文件 config
-u Uninstall 卸载
-n Export Nodes list 显示节点信息
-v Sync Argo Xray to the newest 同步 Argo Xray 到最新版本
-b Upgrade kernel, turn on BBR, change Linux system 升级内核、安装BBR、DD脚本

Argo Json 的获取

用户可以通过 Cloudflare Json 生成网轻松获取: https://fscarmen.cloudflare.now.cc

image

如想手动,可以参考,以 Debian 为例,需要用到的命令,Deron Cheng - CloudFlare Argo Tunnel 试用

Argo Token 的获取

详细教程: 群晖套件:Cloudflare Tunnel 内网穿透中文教程 支持DSM6、7

image

image

image

各种场景下 xray outbound 和 routing 模板的说明

说明 模板示例
chatGPT 使用链式 warp 代理,不需要本地安装 warp,其余流量走 vps 默认的网络出口 warp
指定流量走本机指定的网络接口,对于双栈能区分 IPv4 或 IPv6,其余流量走 vps 默认的网络出口 interface
指定流量走本机指定的socks5代理,对于双栈能区分 IPv4 或 IPv6,其余流量走 vps 默认的网络出口 socks5

主体目录文件及说明

/etc/argox                    # 项目主体目录
├── subscribe                 # 订阅文件目录
│   ├── qr                    # Nekoray / V2rayN 订阅二维码
│   ├── base64                # Nekoray / V2rayN 订阅文件
│   ├── clash                 # Clash 订阅文件
│   ├── clash2                # Clash 订阅文件2
│   ├── proxies               # Clash proxy provider 订阅文件
│   ├── shadowrocket          # Shadowrocket 订阅文件
│   ├── sing-box-pc           # SFM 订阅文件
│   ├── sing-box-phone        # SFI / SFA 订阅文件
│   └── sing-box2             # SFI / SFA / SFM 订阅文件2
├── cloudflared               # argo tunnel 主程序
├── geoip.dat                 # 用于根据 IP 地址来进行地理位置策略或访问控制
├── geosite.dat               # 用于基于域名或网站分类来进行访问控制、内容过滤或安全策略
├── inbound.json              # vless / vmess / ss / trojan + WSS 入站配置文件
├── language                  # 存放脚本语言文件,E 为英文,C 为中文
├── list                      # 节点信息列表
├── outbound.json             # 出站和路由配置文件,chatGPT 使用 warp ipv6 链式代理出站
├── xray                      # xray 主程序
├── nginx.conf                # Nginx 配置文件
├── ax.sh                     # 快捷方式脚本文件
├── jq                        # 命令行 JSON 处理器
└── qrencode                  # QR 码编码二进制文件

免责声明:

  • 本程序仅供学习了解, 非盈利目的,请于下载后 24 小时内删除, 不得用作任何商业用途, 文字、数据及图片均有所属版权, 如转载须注明来源。
  • 使用本程序必循遵守部署免责声明。使用本程序必循遵守部署服务器所在地、所在国家和用户所在国家的法律法规, 程序作者不对使用者任何不当行为负责。

argox's People

Contributors

fscarmen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

argox's Issues

重启VPS以后卡在 所有依赖已存在,不需要额外安装

重启VPS后运行脚本以后卡在 所有依赖已存在,不需要额外安装 一直进行下一步操作

重启之前已经成功安装了argox 跟hy2 并且测试节点都是通的 就是重启后再运行脚本运行不了了 怎么回事?

一直卡在所有依赖已存在,不需要额外安装

下载失败

image 脚本显示xia'z下载失败 重试了三次都是一样的效果

Disable warp

Hi,
This repo is very useful and powerful, So I want to disable Warp, How can do it?

problem with 用户可以通过 Cloudflare Json 生成网轻松获取: https://fscarmen.cloudflare.now.cc

嗨,当我尝试使用这个网站https://fscarmen.cloudflare.now.cc时,当我将我的子域名放在tunnel1中,它显示了Cloudflare授权。当我点击选择域名时,它显示了以下消息:
"These rules must pass for { "name": "Argo Tunnel API Token for example.com in email.com's Account", "creation_type": "custom", "policies": { { "effect": "allow", "resources": ..., "permission_groups": ... } } } - name must have a length between 1 and 120 (Code: 400)"
我的域名有63个字符。

[Feature]希望能增加更多实用功能

*节点信息输出
脚本输出节点信息改为选择输出格式为url亦或json格式,亦可按照客户端分类而不是一次输出所有

*提高可用性
隧道刷新: 自动刷新临时隧道和重启后刷新临时隧道,提高服务可用性

以下的建议更接近机场面板管理方式

多用户支持与多端口
多用户支持:脚本新增多用户系统,允许添加多个用户
同端口与不同端口:提供配置选项,允许为每个用户指定独立的端口,或配置多用户共享同一端口。共享端口时,软件需要能够根据连接的认证信息来区分不同的用户。

流量计算
分用户流量计算:通过uuid跟踪和记录每个用户的流量使用情况。亦或使用xray或者wg建立的网卡统计

#支持订阅和Token鉴权
订阅服务:提供一个动态更新配置的机制,允许用户通过特定的URL订阅其配置信息。
订阅链接Token鉴权:实现一种机制,要求用户在连接时提供有效的Token作为认证方式。

#支持多个vps联动操作
在主vps操作脚本后下发到其他vps而无需一台一台操作,主vps可以不作为节点使用,可以将订阅服务建立在主vps上

牛逼

一个机子搭的argox跟x-ui速度没差多少主要是几秒搞定太给力了

singbox启动失败

Sing-box:关闭
version:1.9.0-rc.5

请选择:2
ERROR:systemctl:the ExecStartPre control process
exited with error code
Sing-box 开启 失败

执行安装脚本失败

euserv服务器debian11系统搭建过程中,使用argo脚本提示下载失败,之前一直都好好的,请问是什么问题呢?急需f佬的解答,谢谢

How to Use This Argo with X-UI

Hi Man

thanks for this greate

i Need to use it on X-UI Panel and export such this configs

how can you i use it on it?

下载最新版本 ARGO 失败,脚本退出

(8/8) 请输入节点名称 (默认为 unesty.931209.xyz):
/dev/fd/63:行707: /tmp/argox/xray: 没有那个文件或目录

下载最新版本 ARGO 失败,脚本退出,问题反馈:[https://github.com/fscarmen/argox/issues]

换了多次系统从ubuntu到centos都不行,主机有ipv4地址和ipv6地址。

Memory Leak

Hello,
My configuration is 1GB RAM - 2 core CPU.
After usage for about 4 days, the average RAM consumption reaches 1GB with around 30 users.
If I don't use Argo Tunnel, there's no issue, and everything is completely stable.
Is there any memory leak problem? Because when I execute the 'stop' command, the RAM usage returns to normal.

可以自定义端口吗?

有几台白嫖的NAT VPS只开放20个端口,不是全部6万多个端口,一键脚本貌似没有自定义端口的选项?

Argo 隧道后端再加个trojan-go,可以实现么?望指导。

您好,由于路由器小闪存,及要实现nat ipv6 only机的外网流量,需要在argo 隧道后端再加个trojan-go,可以实现么?自己捣腾有段时间了,我的思路是把argo隧道客户端过来的流量直接对接到trojan-go,比如argo隧道的流量到服务机8080端口,让trojan-go在服务机本地端口8080监听,总是不成功。望指导思路。

How to send through IPV4?

Hi, my server has two IPs IPV4 and IPV6, but ArgoX uses ipv6, and google have problem with that, how can I force it to use ipv4 only,
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.