v2ray README

The project's README from github.com/233boy/v2ray. As one markdown file: README.md.

介绍

最好用的 V2Ray 一键安装脚本 & 管理脚本

特点

设计理念

设计理念为:高效率,超快速,极易用

脚本基于作者的自身使用需求,以 多配置同时运行 为核心设计

并且专门优化了,添加、更改、查看、删除、这四项常用功能

你只需要一条命令即可完成 添加、更改、查看、删除、等操作

例如,添加一个配置仅需不到 1 秒!瞬间完成添加!其他操作亦是如此!

脚本的参数非常高效率并且超级易用,请掌握参数的使用

脚本说明

V2Ray 一键安装脚本

搭建教程

V2Ray搭建详细图文教程

帮助

使用: v2ray help

V2Ray script v4.21 by 233boy
Usage: v2ray [options]... [args]...

基本:
   v, version                                      显示当前版本
   ip                                              返回当前主机的 IP
   get-port                                        返回一个可用的端口

一般:
   a, add [protocol] [args... | auto]              添加配置
   c, change [name] [option] [args... | auto]      更改配置
   d, del [name]                                   删除配置**
   i, info [name]                                  查看配置
   qr [name]                                       二维码信息
   url [name]                                      URL 信息
   log                                             查看日志
   logerr                                          查看错误日志

更改:
   dp, dynamicport [name] [start | auto] [end]     更改动态端口
   full [name] [...]                               更改多个参数
   id [name] [uuid | auto]                         更改 UUID
   host [name] [domain]                            更改域名
   port [name] [port | auto]                       更改端口
   path [name] [path | auto]                       更改路径
   passwd [name] [password | auto]                 更改密码
   type [name] [type | auto]                       更改伪装类型
   method [name] [method | auto]                   更改加密方式
   seed [name] [seed | auto]                       更改 mKCP seed
   new [name] [...]                                更改协议
   web [name] [domain]                             更改伪装网站

进阶:
   dns [...]                                       设置 DNS
   dd, ddel [name...]                              删除多个配置**
   fix [name]                                      修复一个配置
   fix-all                                         修复全部配置
   fix-caddyfile                                   修复 Caddyfile
   fix-config.json                                 修复 config.json

管理:
   un, uninstall                                   卸载
   u, update [core | sh | dat | caddy] [ver]       更新
   U, update.sh                                    更新脚本
   s, status                                       运行状态
   start, stop, restart [caddy]                    启动, 停止, 重启
   t, test                                         测试运行
   reinstall                                       重装脚本

测试:
   client [name]                                   显示用于客户端 JSON, 仅供参考
   debug [name]                                    显示一些 debug 信息, 仅供参考
   gen [...]                                       同等于 add, 但只显示 JSON 内容, 不创建文件, 测试使用
   genc [name]                                     显示用于客户端部分 JSON, 仅供参考
   no-auto-tls [...]                               同等于 add, 但禁止自动配置 TLS, 可用于 *TLS 相关协议
   xapi [...]                                      同等于 v2ray api, 但 API 后端使用当前运行的 V2Ray 服务

其他:
   bbr                                             启用 BBR, 如果支持
   bin [...]                                       运行 V2Ray 命令, 例如: v2ray bin help
   api, convert, tls, run, uuid  [...]             兼容 V2Ray 命令
   h, help                                         显示此帮助界面

谨慎使用 del, ddel, 此选项会直接删除配置; 无需确认
反馈问题) https://github.com/233boy/v2ray/issues
文档(doc) https://233boy.com/v2ray/v2ray-script/

v2ray (233boy/v2ray)

trojan
Searching Database…

29.9K ·GitHub
What is this?A one-click install and management script for V2Ray proxy servers, letting you set up and run multiple VMess, VLESS, Trojan and Shadowsocks configurations on your own Linux server through a single command-line tool.
Is this an app for my phone, or something I run on my own server?It is a shell script you run on your own Linux VPS to install and control a V2Ray-based proxy service; it is designed around running multiple configs at once rather than being a client app.
How do I get it running and add a proxy config?Run the official one-click install script as root on a Linux server, then use the `v2ray` command to instantly add, change, view, or delete configurations.
Do I need a VPS with root access before running this?Yes, it is meant to be run with root privileges on a Linux server you control, since it installs V2Ray, manages TLS certificates, and configures ports system-wide.
Does it do anything by default that I should know about?By default the script blocks BitTorrent traffic and blocks connections from Chinese IPs, which could surprise users who expect unrestricted traffic.
What protocols can I add with one command?Shadowsocks, VMess over TCP/mKCP/QUIC, VMess/VLESS/Trojan over WS/H2/gRPC with TLS, and VMess with dynamic ports, all addable with a single one-click command each.
Why did the author build this instead of just using the official V2Ray installer?The script is built around running several configs side by side and making add/change/view/delete operations near-instant, with adding a new config taking under a second, which the stock installer does not offer.
Can I tweak TLS, BBR or the camouflage website after installing?Yes, one-click commands let you change the port, UUID, password, domain, path, encryption method, SNI, enable BBR, or swap the fake camouflage website at any time.
Creator
233boy
Size
0.9 MB
Stars
29.9K
Age
9y
Commits · 90 Days