{"id":13539567,"url":"https://github.com/jrohy/multi-v2ray","last_synced_at":"2025-05-13T18:09:35.107Z","repository":{"id":39908117,"uuid":"132300505","full_name":"Jrohy/multi-v2ray","owner":"Jrohy","description":"v2ray/xray多用户管理部署程序","archived":false,"fork":false,"pushed_at":"2024-02-24T06:41:05.000Z","size":3445,"stargazers_count":7039,"open_issues_count":110,"forks_count":2425,"subscribers_count":181,"default_branch":"master","last_synced_at":"2025-05-13T18:09:32.643Z","etag":null,"topics":["gfw","grpc","http2","mtproto","multi-v2ray","multiple","reality","socks5","trojan","v2ray","vless","vmess","websockets","xray","xtls"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jrohy.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-05-06T02:34:48.000Z","updated_at":"2025-05-13T16:00:07.000Z","dependencies_parsed_at":"2023-02-17T01:46:31.367Z","dependency_job_id":"8ae5f459-73dd-4acc-bd47-4fb2be51d854","html_url":"https://github.com/Jrohy/multi-v2ray","commit_stats":{"total_commits":764,"total_committers":4,"mean_commits":191.0,"dds":0.01963350785340312,"last_synced_commit":"510a817524397913d35ed8c8e9ed3752c5d601ee"},"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jrohy%2Fmulti-v2ray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jrohy%2Fmulti-v2ray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jrohy%2Fmulti-v2ray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jrohy%2Fmulti-v2ray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jrohy","download_url":"https://codeload.github.com/Jrohy/multi-v2ray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000851,"owners_count":21997441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gfw","grpc","http2","mtproto","multi-v2ray","multiple","reality","socks5","trojan","v2ray","vless","vmess","websockets","xray","xtls"],"created_at":"2024-08-01T09:01:28.048Z","updated_at":"2025-05-13T18:09:35.083Z","avatar_url":"https://github.com/Jrohy.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"1a9934198e37d6d06b881705b863afc8\"\u003e\u003c/a\u003e通信\u0026\u0026代理\u0026\u0026反向代理\u0026\u0026隧道","\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"dbc310300d300ae45b04779281fe6ec8\"\u003e\u003c/a\u003eV2Ray"],"readme":"# multi-v2ray\nV2ray/Xray多用户管理脚本，向导式管理[新增|删除|修改]传输协议  \n![](https://img.shields.io/pypi/v/v2ray-util.svg) \n[![Downloads](https://pepy.tech/badge/v2ray-util)](https://pepy.tech/project/v2ray-util)\n[![Downloads](https://pepy.tech/badge/v2ray-util/month)](https://pepy.tech/project/v2ray-util)\n![](https://img.shields.io/docker/pulls/jrohy/v2ray.svg)\n![](https://img.shields.io/github/license/Jrohy/multi-v2ray.svg)\n\n## [中文](README.md)  [English](README_EN.md)\n\n## 特色\n- [x] 支持Xray管理, v2ray和xray相互独立, 不同命令(v2ray/xray)进入不同的core管理\n- [x] 调用v2ray官方api进行流量统计\n- [x] **多用户, 多端口管理**, 混合传输协议管理不再是梦\n- [x] 首次安装时产生随机端口，默认配置mkcp + 随机一种 (srtp | wechat-video | utp | dtls | wireguard) header伪装;  \n  安装完成显示配置信息;\n- [x] 查看配置信息显示vmess/vless字符串(v2rayN的分享链接格式)\n- [x] 生成**Telegram**的socks5/MTProto分享链接, 支持socks5 + tls组合\n- [x] 支持http/2, 随机生成伪装h2 path\n- [x] 开启关闭tcpFastOpen\n- [x] 直接开启[CDN](https://github.com/Jrohy/multi-v2ray/wiki/CloudFlare-cdn%E4%BB%A3%E7%90%86v2ray%E6%B5%81%E9%87%8F)\n- [x] 开启关闭动态端口\n- [x] 定时更新v2ray(需手动开启)\n- [x] 支持新版v2ray配置文件格式(v4.1+)\n- [x] 支持范围端口修改\n- [x] 支持程序和**命令行参数**管理控制\n- [x] 支持docker部署\n- [x] 支持VLESS和Trojan以及XTLS(v4.31.0+)\n- [x] 支持纯ipv6 vps\n- [x] 禁止BT\n\n## 功能\n- 一键 启动 / 停止 / 重启 V2ray 服务端\n- 流量统计(v2ray \u0026\u0026 iptables)\n- 命令行模式管理v2ray\n- 支持多用户， 多端口管理\n- 开启关闭动态端口\n- bittorrent的禁止与放行\n- 单端口, 范围端口的修改\n- 直接走Cloudcflare cdn\n- 开启关闭tcpFastOpen\n- 快速查看服务器连接信息, 常规配置修改\n- 自由更改**传输配置**：\n  - 常规TCP\n  - HTTP头部伪装\n  - WebSocket流量\n  - 常规mKCP流量\n  - mKCP 伪装 FaceTime通话流量(srtp)\n  - mKCP 伪装 BT下载流量(utp)\n  - mKCP 伪装 微信视频通话流量(wechat-video)\n  - mKCP 伪装 DTLS 1.2流量(dtls)\n  - mKCP 伪装 WireGuard流量(wireguard)\n  - HTTP/2的tls流量(h2)(需备域名) \n  - Socks5\n  - MTProto\n  - Shadowsocks\n  - Quic\n  - VLESS_TCP\n  - VLESS_TLS\n  - VLESS_WS\n  - VLESS_REALITY\n  - Trojan\n\n## 安装命令\n```\nsource \u003c(curl -sL https://multi.netlify.app/v2ray.sh) --zh\n```\n\n## 升级命令(保留配置文件更新)\n```\nsource \u003c(curl -sL https://multi.netlify.app/v2ray.sh) -k\n```\n\n## 卸载命令\n```\nsource \u003c(curl -sL https://multi.netlify.app/v2ray.sh) --remove\n```\n\n## 命令行参数\n```bash\nv2ray/xray [-h|help] [options]\n    -h, help             查看帮助\n    -v, version          查看版本号\n    start                启动 V2Ray\n    stop                 停止 V2Ray\n    restart              重启 V2Ray\n    status               查看 V2Ray 运行状态\n    new                  重建新的v2ray json配置文件\n    update               更新 V2Ray 到最新Release版本\n    update [version]     更新 V2Ray 到指定版本\n    update.sh            更新 multi-v2ray 到最新版本\n    add                  新增端口组\n    add [protocol]       新增一种协议的组, 端口随机, 如 v2ray add utp 为新增utp协议\n    del                  删除端口组\n    info                 查看配置\n    port                 修改端口\n    tls                  修改tls\n    tfo                  修改tcpFastOpen\n    stream               修改传输协议\n    cdn                  走cdn\n    stats                v2ray流量统计\n    iptables             iptables流量统计\n    clean                清理日志\n    log                  查看日志\n    rm                   卸载core\n```\n\n## Docker运行\n\n默认创建mkcp + 随机一种伪装头配置文件(**如果使用xray则换成镜像jrohy/xray**)：\n```\ndocker run -d --name v2ray --privileged --restart always --network host jrohy/v2ray\n```\n\n自定义v2ray配置文件:\n```\ndocker run -d --name v2ray --privileged -v /path/config.json:/etc/v2ray/config.json --restart always --network host jrohy/v2ray\n```\n\n查看v2ray配置:\n```\ndocker exec v2ray bash -c \"v2ray info\"\n```\n\n**warning**: 如果用centos，需要先关闭防火墙\n```\nsystemctl stop firewalld.service\nsystemctl disable firewalld.service\n```\n\n## 建议\n安装完v2ray后强烈建议开启BBR等加速: [one_click_script](https://github.com/jinwyp/one_click_script)  \n使用Trojan和VLESS协议建议自行安装个nginx, 能让v2ray顺利Fallback到默认的80端口\n\n## 依赖\nv2ray docker: https://hub.docker.com/r/jrohy/v2ray  \nxray docker: https://hub.docker.com/r/jrohy/xray  \npip: https://pypi.org/project/v2ray-util/  \npython3: https://github.com/Jrohy/python3-install  \nacme: https://github.com/acmesh-official/acme.sh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrohy%2Fmulti-v2ray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrohy%2Fmulti-v2ray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrohy%2Fmulti-v2ray/lists"}