V2Ray
jsonv5-previewSchema URL
JSON schema for V2Ray jsonv5 configuration format: https://github.com/v2fly/v2ray-core
Definitions
3 nested properties
@Document The selectors for outbound under observation
Config is the settings for BrowserForwarder.
2 nested properties
2 nested properties
@Document The selectors for outbound under observation
5 nested properties
destination url, need 204 for success return default https://connectivitycheck.gstatic.com/generate_204
connectivity check url
health check interval, int64 values of time.Duration
sampling count is the amount of recent ping results which are kept for calculation
ping timeout, int64 values of time.Duration
2 nested properties
2 nested properties
1 nested properties
3 nested properties
2 nested properties
11 nested properties
SocketConfig is options to be applied on network sockets.
14 nested properties
Mark of the connection. If non-zero, the value will be set to SO_MARK.
TFO is the state of TFO settings.
TProxy is for enabling TProxy socket option.
ReceiveOriginalDestAddress is for enabling IP_RECVORIGDSTADDR socket option. This option is for UDP only.
3 nested properties
Whether or not to enable content sniffing on an inbound connection.
Override target destination if sniff'ed protocol is in the given list. Supported values are "http", "tls", "fakedns".
Whether should only try to sniff metadata without waiting for client input. Can be used to support SMTP like protocol where server send the first message.
Config is the settings for Subscription Manager.
3 nested properties
Config is the settings for BrowserForwarder.
NameServer list used by this DNS client.
Client IP for EDNS client subnet. Must be 4 bytes (IPv4) or 16 bytes (IPv6).
Static domain-ip mapping in DNS server.
1 nested properties
Tag is the inbound tag of DNS client.
DisableCache disables DNS cache Deprecated. Use cache_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
Deprecated. Use fallback_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
Deprecated. Use fallback_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
Default query strategy (IPv4, IPv6, or both) for each name server.
Default cache strategy for each name server.
Default fallback strategy for each name server.
ProxiedDomain indicates the mapped domain has the same IP address on this domain. V2Ray will use this domain for IP queries.
1 nested properties
Deprecated. Use fallback_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
@Document The selectors for outbound under observation
@Document The selectors for outbound under observation
5 nested properties
destination url, need 204 for success return default https://connectivitycheck.gstatic.com/generate_204
connectivity check url
health check interval, int64 values of time.Duration
sampling count is the amount of recent ping results which are kept for calculation
ping timeout, int64 values of time.Duration
destination url, need 204 for success return default https://connectivitycheck.gstatic.com/generate_204
connectivity check url
health check interval, int64 values of time.Duration
sampling count is the amount of recent ping results which are kept for calculation
ping timeout, int64 values of time.Duration
Buffer size per connection, in bytes. -1 for unlimited buffer.
4 nested properties
Whether or not to enable content sniffing on an inbound connection.
Override target destination if sniff'ed protocol is in the given list. Supported values are "http", "tls", "fakedns".
Whether should only try to sniff metadata without waiting for client input. Can be used to support SMTP like protocol where server send the first message.
List of domains for target domain matching.
List of GeoIPs for target IP address matching. If this entry exists, the cidr above will have no effect. GeoIP fields with the same country code are supposed to contain exactly same content. They will be merged during runtime. For customized GeoIPs, please leave country code empty.
List of ports.
List of GeoIPs for source IP address matching. If this entry exists, the source_cidr above will have no effect.
List of ports for source port matching.
geo_domain instruct simplified config loader to load geo domain rule and fill in domain field.
weight settings
RTT baselines for selecting, int64 values of time.Duration
expected nodes count to select
max acceptable rtt, filter away high delay nodes. defalut 0
acceptable failure rate
IP for routing decision, in CIDR form.
IP address, should be either 4 or 16 bytes.
Number of leading ones in the network mask.
Domain for routing decision.
Domain matching type.
Domain value.
Attributes of this domain. May be used for filtering.
resource_hash instruct simplified config converter to load domain from geo file.
resource_hash instruct simplified config converter to load domain from geo file.
Config is the settings for Subscription Manager.
SocketConfig is options to be applied on network sockets.
14 nested properties
Mark of the connection. If non-zero, the value will be set to SO_MARK.
TFO is the state of TFO settings.
TProxy is for enabling TProxy socket option.
ReceiveOriginalDestAddress is for enabling IP_RECVORIGDSTADDR socket option. This option is for UDP only.
3 nested properties
Whether or not to enable content sniffing on an inbound connection.
Override target destination if sniff'ed protocol is in the given list. Supported values are "http", "tls", "fakedns".
Whether should only try to sniff metadata without waiting for client input. Can be used to support SMTP like protocol where server send the first message.
Endpoint of a network connection.
User is a generic user for all procotols.
2 nested properties
3 nested properties
2 nested properties
2 nested properties
12 nested properties
NameServer list used by this DNS client.
Client IP for EDNS client subnet. Must be 4 bytes (IPv4) or 16 bytes (IPv6).
Static domain-ip mapping in DNS server.
1 nested properties
Tag is the inbound tag of DNS client.
DisableCache disables DNS cache Deprecated. Use cache_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
Deprecated. Use fallback_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
Deprecated. Use fallback_strategy.
Deprecated: Marked as deprecated in app/dns/config.proto.
Default query strategy (IPv4, IPv6, or both) for each name server.
Default cache strategy for each name server.
Default fallback strategy for each name server.
3 nested properties
13 nested properties
3 nested properties
@Document The selectors for outbound under observation
Config is the settings for BrowserForwarder.
2 nested properties
2 nested properties
@Document The selectors for outbound under observation
2 nested properties
2 nested properties
1 nested properties
3 nested properties
2 nested properties
Config is the settings for Subscription Manager.
3 nested properties
11 nested properties
ClientConfig is the protobuf config for Socks client.
Sever is a list of Socks server addresses.
SocketConfig is options to be applied on network sockets.
Mark of the connection. If non-zero, the value will be set to SO_MARK.
TFO is the state of TFO settings.
TProxy is for enabling TProxy socket option.
ReceiveOriginalDestAddress is for enabling IP_RECVORIGDSTADDR socket option. This option is for UDP only.
Path of the domain socket. This overrides the IP/Port parameter from upstream caller.
Abstract specifies whether to use abstract namespace or not. Traditionally Unix domain socket is file system based. Abstract domain socket can be used without acquiring file lock.
Some apps, eg. haproxy, use the full length of sockaddr_un.sun_path to connect(2) or bind(2) when using abstract UDS.
"Accept", "Cookie", etc
Each entry must be valid in one piece. Random entry will be chosen if multiple entries present.
Downlink capacity, in MB.
Maximum Transmission Unit, in bytes.
Maximum Transmission Unit, in bytes.
Buffer size in bytes.
Transmission Time Interview, in milli-sec.
Uplink capacity, in MB.
Buffer size in bytes.
2 nested properties
TLS certificate in x509 format.
TLS key in x509 format.
Whether or not to allow self-signed certificates.
List of certificates to be served on server.
Override server name.
Lists of string as ALPN values.
Whether or not to enable session (ticket) resumption.
If true, root certificates on the system will not be loaded for verification.
@Document A pinned certificate chain sha256 hash. @Document If the server's hash does not match this value, the connection will be aborted. @Document This value replace allow_insecure. @Critical
If true, the client is required to present a certificate.
Minimum TLS version to support.
Maximum TLS version to support.
10 nested properties
Whether or not to allow self-signed certificates.
List of certificates to be served on server.
Override server name.
Lists of string as ALPN values.
Whether or not to enable session (ticket) resumption.
If true, root certificates on the system will not be loaded for verification.
@Document A pinned certificate chain sha256 hash. @Document If the server's hash does not match this value, the connection will be aborted. @Document This value replace allow_insecure. @Critical
If true, the client is required to present a certificate.
Minimum TLS version to support.
Maximum TLS version to support.
URL path to the WebSocket service. Empty value means root(/).