Skip to main content

a tool to manage v2ray config json

Project description

v2rayU

V2ray多用户管理脚本,向导式管理[新增|删除|修改]传输协议,享受V2ray的乐趣~

特色

  • 调用v2ray官方api进行流量统计
  • 多用户, 多端口管理, 混合传输协议管理不再是梦
  • 首次安装时产生随机端口,默认配置mkcp + 随机一种 (srtp | wechat-video | utp | dtls) header伪装;
     安装完成显示配置信息; 脚本跑完即可放心食用!
  • 每天北京时间早上3点自动升级重启v2ray核心,降低v2ray因内存小被kill几率。可关闭开启此功能。
  • 查看配置信息显示vmess字符串(v2rayN的分享链接格式)
  • 生成Telegram的socks5/MTProto分享链接, 支持socks5 + tls组合
  • 支持http/2, 随机生成伪装h2 path
  • 开启关闭tcpFastOpen
  • 开启关闭动态端口
  • 禁止BT
  • 支持新版v2ray配置文件格式(v4.1+)
  • 支持范围端口修改
  • 支持程序和命令行参数管理控制

功能

  • 一键 启动 / 停止 / 重启 V2ray 服务端
  • 流量统计(v2ray && iptables)
  • 命令行模式管理v2ray
  • 支持多用户, 多端口管理
  • 开启关闭动态端口
  • bittorrent的禁止与放行
  • 单端口, 范围端口的修改
  • 开启关闭tcpFastOpen
  • 快速查看服务器连接信息, 常规配置修改
  • 自由更改传输配置
    • 常规TCP
    • HTTP头部伪装
    • WebSocket流量
    • 常规mKCP流量
    • mKCP 伪装 FaceTime通话流量(srtp)
    • mKCP 伪装 BT下载流量(utp)
    • mKCP 伪装 微信视频通话流量(wechat-video)
    • mKCP 伪装 DTLS 1.2流量(dtls)
    • mKCP 伪装 WireGuard流量(wireguard)
    • HTTP/2的tls流量(h2)(需备域名)
    • Socks5
    • MTProto
    • Shadowsocks
    • Quic

安装命令

source <(curl -sL https://raw.githubusercontent.com/DockerCS/v2rayU/master/v2rayU.sh) --zh

升级命令(保留配置文件,升级失败请全新安装)

source <(curl -sL https://raw.githubusercontent.com/DockerCS/v2rayU/master/v2rayU.sh) -k

卸载命令

source <(curl -sL https://raw.githubusercontent.com/DockerCS/v2rayU/master/v2rayU.sh) --remove

命令行参数

所有命令行参数支持Tab补全

v2ray [-h|--help] [options]
    -h, --help           get help
    -v, --version        get version
    start                start V2Ray
    stop                 stop V2Ray
    restart              restart V2Ray
    status               check V2Ray status
    new                  create new json profile
    update               update v2ray to latest
    update.sh            update v2rayU to latest
    add                  random create mkcp + (srtp|wechat-video|utp|dtls|wireguard) fake header group
    add [wechat|utp|srtp|dtls|wireguard|socks|mtproto|ss]     create special protocol, random new port
    del                  delete port group
    info                 check v2ray profile
    port                 modify port
    tls                  modify tls
    tfo                  modify tcpFastOpen
    stream               modify protocol
    cdn                  cdn mode
    stats                v2ray traffic statistics
    iptables             iptables traffic statistics
    clean                clean v2ray log
    log                  check v2ray log

更多命令行参数请参考 v2rayU wiki

系统要求

  • Debian 7
  • Debian 8
  • Debian 9(推荐)
  • Ubuntu 14
  • Ubuntu 16
  • Ubuntu 18
  • CentOS 7
  • Fedora 28
  • Fedora 29

不支持Centos 6

特别说明

有任何问题或者新功能想法欢迎提交 Issue。

本程序遵循 GPL v3协议发布,请Fork保留源项目地址,谢谢!

由于官方统计方式的限制, v2ray core重启就会重置统计流量数据!

感谢

Jrohy的multi-v2ray: https://github.com/Jrohy/multi-v2ray

V2ray: https://v2ray.com

雨落无声的v2ray.fun: YLWS-4617

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

v2rayU-1.2.1.tar.gz (40.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page