V2CTL(1)

NAME
v2ctl - tools for v2ray core

DESCRIPTION
v2ctl is needed by v2ray to start.

v2ctl <command>

Available commands:

api {Call V2Ray API [v2ctl api [--server=127.0.0.1:8080] Service.Method Request Call an API in an V2Ray process.
     The following methods are currently supported:
        LoggerService.RestartLogger
        StatsService.GetStats
        StatsService.QueryStats
     API calls in this command have a timeout to the server of 3 seconds.
     Examples: v2ctl api --server=127.0.0.1:8080 LoggerService.RestartLogger '' v2ctl api --server=127.0.0.1:8080 StatsService.QueryStats 'pattern: "" reset: false' v2ctl api --server=127.0.0.1:8080 StatsService.GetStats 'name: "inbound>>>statin>>>traffic>>>downlink" reset: false' v2ctl api --server=127.0.0.1:8080 StatsService.GetSysStats '']}

cert
    {Generate TLS certificates. [v2ctl cert [--ca] [--domain=v2fly.org] [--expire=240h] Generate new TLS certificate --ca The new certificate is a CA certificate --domain Common name for the certificate --expire Time until certificate expires. 240h = 10 days.]}

config
    {merge multiple json config [v2ctl config config.json c1.json c2.json <url>.json]}

fetch
    {Fetch resources [v2ctl fetch <url>]}

tlsping
    {Ping the domain with TLS handshake [v2ctl tlsping <domain> --ip <ip>]}

uuid
    {Generate new UUID [v2ctl uuid]}

verify
    {Verify if a binary is officially signed. [v2ctl verify --sig=<sig-file> file... Verify the file officially signed by V2Ray.]}