V2Ray Multi-User Script

multi-v2ray

V2ray multi-user management script, wizard-style management for [add | delete | modify] transport protocols, enjoy the fun of V2ray~
    


 

Features

  •  Uses the official v2ray API for traffic statistics
  •  Multi-user, multi-port management,
    managing mixed transport protocols is no longer a dream
  •  Generates a random port during the first installation; default configuration is mkcp + one random header disguise from (srtp |
    wechat-video | utp | dtls | wireguard);
    Displays configuration information after installation is complete;
  •  Automatically upgrades and restarts the v2ray core every day at 3 a.m. Beijing time, reducing the chance of v2ray being killed due to low memory. This feature can be turned on or off.
  •  Viewing configuration information displays the vmess string (v2rayN share link format)
  •  Generate Telegram socks5/MTProto sharing links,
    supports socks5 + tls combination
  •  Supports http/2, randomly generates obfuscated h2 paths
  •  Enable/disable tcpFastOpen
  •  Directly enable CDN
  •  Enable/disable dynamic ports
  •  Supports the new v2ray configuration file format (v4.1+)
  •  Supports modifying port ranges
  •  Supports management and control via the program and command-line arguments
  •  Supports Docker deployment
  •  Supports pure IPv6 VPS
  •  Block BT

Features

  • One-click start / stop / restart of the V2ray server
  • Traffic statistics (v2ray && iptables)
  • Manage v2ray in command-line mode
  • Supports multi-user, multi-port management
  • Enable/disable dynamic ports
  • Block or allow BitTorrent
  • Modify single ports and port ranges
  • Route directly through Cloudcflare cdn
  • Enable/disable tcpFastOpen
  • Quickly view server connection information, modify common configurations
  • Freely change transport settings:

    • Regular TCP
    • HTTP header obfuscation
    • WebSocket traffic
    • Regular mKCP traffic
    • mKCP disguised as FaceTime call traffic (srtp)
    • mKCP disguised as BT download traffic (utp)
    • mKCP disguised as WeChat video call traffic (wechat-video)
    • mKCP disguised as DTLS 1.2 traffic (dtls)
    • mKCP disguised as WireGuard traffic (wireguard)
    • HTTP/2 tls traffic (h2) (requires a domain name)
    • Socks5
    • MTProto
    • Shadowsocks
    • Quic

Installation Command

source <(curl -sL https://multi.netlify.com/v2ray.sh) --zh

Upgrade Command (update while preserving the configuration file)

source <(curl -sL https://multi.netlify.com/v2ray.sh) -k

Uninstall Command

source <(curl -sL https://multi.netlify.com/v2ray.sh) --remove

Command-Line Parameters

v2ray [-h|--help] [options]
    -h, --help           View help
    -v, --version        View version number
    start                Start V2Ray
    stop                 Stop V2Ray
    restart              Restart V2Ray
    status               View V2Ray running status
    new                  Rebuild a new v2ray JSON configuration file
    update               Update V2Ray to the latest Release version
    update.sh            Update multi-v2ray to the latest version
    add                  Add mkcp + a random header disguise port (Group) of one type among (srtp|wechat-video|utp|dtls|wireguard)
    add [wechat|utp|srtp|dtls|wireguard|socks|mtproto|ss]     Add a group for one protocol type with a random port; for example, v2ray add utp adds the utp protocol
    del                  Delete port group
    info                 View configuration
    port                 Modify port
    tls                  Modify tls
    tfo                  Modify tcpFastOpen
    stream               Modify transport protocol
    cdn                  Use CDN
    stats                v2ray traffic statistics
    iptables             iptables traffic statistics
    clean                Clear logs
    log                  View logs

Run with Docker

By default, create an mkcp + randomly selected obfuscation header profile:

docker run -d --name v2ray --privileged --restart always --network host jrohy/v2ray

Custom v2ray configuration file:

docker run -d --name v2ray --privileged -v /path/config.json:/etc/v2ray/config.json --restart always --network host jrohy/v2ray

View the v2ray configuration:

docker exec v2ray bash -c "v2ray info"

warning: If using centos, you need to disable the firewall first

systemctl stop firewalld.service
systemctl disable firewalld.service

Leave a Comment

Your email address will not be published. Required fields are marked *

中文 EN
🚀

RedGate VPN

免费节点太挤太慢?
升级高速稳定专线

立即体验 →

告别卡顿

RedGate VPN
全球高速节点

免费下载 →
Scroll to Top