Giter Site home page Giter Site logo

v2ray-agent's Introduction

v2ray-agent

English Version


目录


1.八合一共存脚本+伪装站点

特性

  • 支持Xray-core[XTLS]v2ray-core
  • 支持VLESS/Trojan前置[VLESS XTLS -> Trojan XTLS]、[Trojan XTLS -> VLESS XTLS]
  • 支持不同核心之间的配置文件互相读取
  • 支持 VLESS/VMess/trojan/hysteria 协议
  • 支持Debian、Ubuntu、Centos系统,支持主流的cpu架构。
  • 支持任意组合安装、支持多用户管理、支持DNS流媒体解锁、支持添加多端口、支持任意门解锁Netflix
  • 支持卸载后保留tls证书
  • 支持IPv6,IPv6注意事项
  • 支持WARP分流、IPv6分流
  • 支持BT下载管理、日志管理、域名黑名单管理、核心管理、伪装站点管理
  • 支持自定义证书安装

支持的安装类型

  • VLESS+TCP+TLS
  • VLESS+TCP+xtls-rprx-direct
  • VLESS+gRPC+TLS【支持CDN、IPv6、延迟低】
  • VLESS+WS+TLS【支持CDN、IPv6】
  • Trojan+TCP+TLS【推荐
  • Trojan+TCP+xtls-rprx-direct
  • Trojan+gRPC+TLS【支持CDN、IPv6、延迟低】
  • VMess+WS+TLS【支持CDN、IPv6】

线路推荐

  • CN2 GIA
  • 上海CN2+HK
  • AS9929
  • AS4837
  • 联通日本软银
  • 联通+**TFN
  • 联通+NTT
  • 广移/珠移+HKIX/CMI/NTT
  • 广移/CN2+Cloudflare+全球
  • 广移/CN2/南联+香港AZ+全球
  • 中转+cloudflare+落地机【可拉全球】

注意事项

  • 修改Cloudflare->SSL/TLS->Overview->Full
  • Cloudflare ---> A记录解析的云朵必须为灰色【如非灰色,会影响到定时任务自动续签证书】
  • 如用CDN又同时使用直连,关闭云朵+自选IP,自选IP参考上方的Cloudflare 优化方案
  • 使用纯净系统安装,如使用其他脚本安装过并且自己无法修改错误,请重新安装系统后再次尝试安装
  • wget: command not found [这里需要自己手动安装下wget] ,如未使用过Linux,点击查看安装教程
  • 不支持非root账户
  • 如发现Nginx相关问题,请卸载掉自编译的nginx或者重新安装系统
  • 为了节约时间,反馈请带上详细截图或者按照模版规范,无截图或者不按照规范的issue会被直接关闭
  • 不推荐GCP用户使用
  • 不推荐使用Centos以及低版本的系统,如果Centos安装失败,请切换至Debian10重新尝试,脚本不再支持Centos6、Ubuntu 16.x
  • 如有使用不明白的地方请先查看脚本使用指南
  • Oracle Cloud有一个额外的防火墙,需要手动设置
  • Oracle Cloud仅支持Ubuntu
  • 如果使用gRPC通过cloudflare转发,需要在cloudflare设置允许gRPC,路径:cloudflare Network->gRPC
  • gRPC目前处于测试阶段,可能对你使用的客户端不兼容,如不能使用请忽略
  • 低版本脚本升级高版本时无法启动问题,请点击此链接查看解决方案

安装脚本

  • 支持快捷方式启动,安装完毕后,shell输入【vasma】即可打开脚本,脚本执行路径[/etc/v2ray-agent/install.sh]

  • Latest Version【推荐】

wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/reeceyng/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
  • Development Version【开发版】
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/reeceyng/v2ray-agent/dev/install.sh" && chmod 700 /root/install.sh && /root/install.sh

示例图

版权

  • 八合一脚本原作者:mack-a
  • Reece
  • 以及本项目的所有贡献者

许可证

AGPL-3.0

Stargazers over time

Stargazers over time

v2ray-agent's People

Contributors

02015678 avatar cloudwindy avatar demo0102 avatar hexiaoyanh avatar hkyloveshe avatar irhonin avatar mack-a avatar reeceyng 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  avatar

v2ray-agent's Issues

Xray启动失败

Xray启动失败
请手动执行【/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf】,查看错误日志

root@C20220617175219:~# /etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf
Xray 1.7.2 (Xray, Penetrates Everything.) Custom (go1.19.4 linux/amd64)
A unified platform for anti-censorship.
2023/01/12 02:15:31 Using confdir from arg: /etc/v2ray-agent/xray/conf
xctl> [ /etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json ] appended inbound with tag: VLESSWS
xctl> [ /etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json ] appended inbound with tag: trojanTCP
xctl> [ /etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json ] appended inbound with tag: trojangRPCTCP
xctl> [ /etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json ] appended inbound with tag: VMessWS
xctl> [ /etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json ] appended inbound with tag: VLESSGRPC
Failed to start: app/proxyman/inbound: failed to listen TCP on 31299 > transport/internet: failed to listen on address: 127.0.0.1:31299 > transport/internet/websocket: failed to listen TCP(for WS) on 127.0.0.1:31299 > listen tcp 127.0.0.1:31299: bind: cannot assign requested address

替换默认的geosite、geoip文件后会连不上。

用默认的文件,在路由里面屏蔽国内网址,可以正常链接使用,屏蔽也生效;替换文件后就不可链接了,删除路由规则也不行,文件权限也全给了,只有恢复默认的文件才行。

incorrect flow when using VISION

请仔细填写每一项,并回复自己详细的错误信息

1.问题描述
When using "3.Xray-core(使用xtls-rprx-vision)", it add a user with flow "xtls-rprx-vision" during installation process.
After, when using option number 5 to add a new user, it adds the user but the flow is "xtls-rprx-direct" in the config file "02_VLESS_TCP_inbounds.json"

2.安装失败的错误内容或者截图

  • empty

3.系统版本

  • Debian 10

4.脚本版本
v 2.7.3

5.核心类型及版本
xray 1.7.2

Server stopped working after one day

I used this script with an ipv6 vps behind cloudflare and it worked well (vless ws cdn)
After one day it stopped working. It seems that my domain name was detected and blacklisted by Iran gfw.
I used a CF ip as address and my domain name as SNI in the client.
Should i get a new domain?

block port 22

How can I block port 22 to prevent misuse in this service?

xray 1.7.0已经支持wireguard出站了

详细描述建议的内容
建议用warp.sh代替原来的官方客户端进行warp地址申请。
一是可以申请地址后停用warp客户端减少一层socks5中转,二是可以适配ARM服务器(原方法中调用的官方客户端并没有适配ARM)。

Process gets killed after disconnecting ssh

请仔细填写每一项,并回复自己详细的错误信息

1.问题描述

  • 请在此处填写
    Process gets killed after disconnecting from Google Cloud ssh.
    2.安装失败的错误内容或者截图
  • 请在此处填写
    No error.
    3.系统版本
  • 请在此处填写
    Last version
    4.脚本版本
  • 请在此处填写
    Last version
    5.核心类型及版本
  • 请在此处填写
    Last version

多端口账户协议漏洞

请仔细填写每一项,并回复自己详细的错误信息

1.问题描述

  • 多端口账户有协议漏洞。
  • 服务器已完全安装xray,启用vless+tcp,vless+ws+CDN,trojan等协议账号使用。
  • 443为主端口,添加其他副端口,比如1234,7890等等,任意端口。
  • vps的IP没有走CF的CDN转发,所有域名连接都是直连。
  • 客户端采用CDN账号连接,走443主端口,连接失败。(情理之中,vps并没有走CDN转发,当然不能使用)。但是相同账号,协议走CDN账号的其他副端口,比如1234,7890,可以正常使用。

2.安装失败的错误内容或者截图

  • 非安装问题。

3.系统版本

  • ubuntu 20

4.脚本版本

  • 2.7.3

5.核心类型及版本

  • n/a

对于服务器已经安装了nginx的处理,或兼容宝塔面板?

请问大佬能不能对脚本的兼容性做一些更新?
比如兼容宝塔面板之类的
目前好像只要是预先安装过nginx的机器,就无法安装脚本了
报错如下:
---> 未检测到当前域名的ip
---> 请依次进行下列检查
---> 1.检查域名是否书写正确
---> 2.检查域名dns解析是否正确
---> 3.如解析正确,请等待dns生效,预计三分钟内生效
---> 4.如报Nginx启动问题,请手动启动nginx查看错误,如自己无法处理请提issues
---> 5.错误日志:

<title>301 Moved Permanently</title>

301 Moved Permanently


nginx /html>

---> 如以上设置都正确,请重新安装纯净系统后再次尝试
---> 检测返回值异常,建议手动卸载nginx后重新执行脚本
---> 请检查防火墙规则是否开放443、80

麻烦您给看看
谢谢

开发版本安装错误

请仔细填写每一项,并回复自己详细的错误信息

1.问题描述
无法识别域名IP

2.安装失败的错误内容或者截图
是否通过脚本修改防火墙规则开放443、80端口?[y/n]:y
Rule added
Rule added (v6)
---> 80端口开放成功
Rule added
Rule added (v6)
---> 443端口开放成功
---> Nginx启动成功

---> 检查域名ip中
---> Nginx关闭成功

---> 未检测到当前域名的ip
---> 请依次进行下列检查
---> 1.检查域名是否书写正确
---> 2.检查域名dns解析是否正确
---> 3.如解析正确,请等待dns生效,预计三分钟内生效
---> 4.如报Nginx启动问题,请手动启动nginx查看错误,如自己无法处理请提issues
---> 5.错误日志:

<title>301 Moved Permanently</title>

301 Moved Permanently


nginx/1.21.4 /html>

---> 如以上设置都正确,请重新安装纯净系统后再次尝试
---> 检测返回值异常,建议手动卸载nginx后重新执行脚本
---> 请检查防火墙规则是否开放443、80

3.系统版本
Debian 10 x64 (buster)
Vultr的服务器,测试了东京和首尔

4.脚本版本
2.72 开发版 稳定版都不行

5.核心类型及版本
X-ray core 正式版 和 预览版

请问 不能用443接口是什么原因?

只要我不用443接口,脚本一点问题都没有,其他的怎么设置都可以,唯独接口设置成443就不行,粘贴到v2rayn里就变成链接超时,这个要怎么解决?

是否可以升级一下v2ray-core的版本

脚本使用的一直是旧版本的v4.45.2版本,但是最新版已经到v5.x了,是否可以考虑对v2ray-core进行升级,或者加个v4,v5双版本自选安装的选项

CloudFlare CDN

Hi, when i use cf cdn meaning that when i checked proxied tick in cloudflare the vless vmess or trojan doesn't work at all even those with cdn support doesn't work can you help me how use cloudflare cdn on v2rayAgent? Thanks.

alpn不能切换,提示为null

选择14.切换alpn,提示:
当前alpn首位为:null

输入啥都提示选择错误

2.7.0版出现过一次,选择“1重新安装”后修复。

现在2.7.1版在另一台机器上也出现这问题,没法切换,不管是选“1重新安装”,还是卸载脚本后重装也是如此。

alpn

Where does the logs saves?

Hi and thanks for the project!

I could'nt found any log while using XrayCore.
where should i look for the logs? its not in /var/log for ubuntu!

regards

problem for instal

hi would you please help me becuase after install at finish i see this error.

Progress 12/13 : Verify service startup status
---> Service started successfully
/root/install.sh: line 447: jq: command not found
/root/install.sh: line 450: jq: command not found
/root/install.sh: line 452: jq: command not found
/root/install.sh: line 454: jq: command not found
/root/install.sh: line 456: jq: command not found
/root/install.sh: line 462: jq: command not found
/root/install.sh: line 479: jq: command not found
/root/install.sh: line 484: jq: command not found
/root/install.sh: line 485: jq: command not found
/root/install.sh: line 486: jq: command not found
/root/install.sh: line 490: jq: command not found

Progress 13/13 : Account
===================== VLESS TCP TLS/XTLS-direct/XTLS-splice ======================

/root/install.sh: line 3296: jq: command not found
/root/install.sh: line 3296: jq: command not found

================================ VLESS WS TLS CDN ================================

/root/install.sh: line 3310: jq: command not found
/root/install.sh: line 3310: jq: command not found

================================ VMess WS TLS CDN ================================

/root/install.sh: line 3332: jq: command not found
/root/install.sh: line 3332: jq: command not found

=============================== VLESS gRPC TLS CDN ===============================

---> gRPC is in the testing stage and may not be compatible with the client you are using.If it cannot be used, please ignore it
/root/install.sh: line 3348: jq: command not found
/root/install.sh: line 3348: jq: command not found

================================== Trojan TLS ==================================

/root/install.sh: line 3363: jq: command not found
/root/install.sh: line 3363: jq: command not found

==============================

Accounting

is it possible to enable accounting in configurations like vless and vmess ? after a fresh installation I can see there is spot for adding clients.

edit: I'm using xray

Capture

net/http: TLS handshake timeout

请仔细填写每一项,并回复自己详细的错误信息

1.问题描述

  • 安装完成当天使用正常,路由器端和手机断使用都没有问题,第二天出现net/http: TLS handshake timeout故障

2.安装失败的错误内容或者截图

  • 手机端使用V2RayNG连接后测试报net/http: TLS handshake timeout

3.系统版本

  • debian10 64位

4.脚本版本

  • v2.7.3 VLESS+TCP+TLS使用域名伪装

5.核心类型及版本

  • Xray-core

Getting blocked fast

I don't know what's wrong but I used this script on 3 different servers and they got blocked right away. never had this problem before.
btw this is the best and fastest way to run a v2ray VPN.
I hope you find out where the problem is.

IPv6 only VPS 安装问题

我有一台纯IPv6的机器,脚本可以安装,申请证书也都没有问题,但是无法访问。
请问要修改哪些配置才能让xray监听v6的端口呢?

hysteria的config.json配置文件在哪里查看

复制生成的 hysteria://开头的链接黏贴到电脑V2RAYN,无法使用,其中电脑V2客户端的配置文件.JSON文件里面的内容就是那个生成的hysteria://开头地址,导致无法使用,直接复制到手机茉莉使用没有问题,可不可以改一下也能直接复制链接黏贴到电脑V2就可以直接使用,这样就不用每次都要手动该客户端的CONFIG.JOSN文件

new config without TLS

Is it possible to create special settings so that users can connect without using TLS?

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.