Merge 5bd546f51070d5e7b0d5b98eb59b93cda3ed855e into c6ec3122f5e312d7957746d33910bbf87de16078

This commit is contained in:
xqzr 2024-10-20 10:50:11 -04:00 committed by GitHub
commit 18f4bb9e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
25 changed files with 95 additions and 94 deletions

View File

@ -29,10 +29,10 @@
"settings": { "settings": {
"servers": [ "servers": [
{ {
"address": "example.com", // your domain name or server IP "address": "example.com","//": "your domain name or server IP",
"flow": "xtls-rprx-direct", // Linux or android can be changed to "xtls-rprx-splice" "flow": "xtls-rprx-direct","//": "Linux or android can be changed to xtls-rprx-splice",
"port": 443, "port": 443,
"password": "your_password" // your password "password": "your_password","//": "your password"
} }
] ]
}, },
@ -40,7 +40,7 @@
"network": "tcp", "network": "tcp",
"security": "xtls", "security": "xtls",
"xtlsSettings": { "xtlsSettings": {
"serverName": "example.com" // your domain name "serverName": "example.com","//": "your domain name"
} }
} }
} }

View File

@ -9,7 +9,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"password":"your_password", // password "password":"your_password","//": "password",
"flow": "xtls-rprx-direct" "flow": "xtls-rprx-direct"
} }
], ],
@ -35,12 +35,12 @@
], ],
"certificates": [ "certificates": [
{ {
"certificateFile": "/path/to/cert", // Certificate file absolute directory "certificateFile": "/path/to/cert","//": "Certificate file absolute directory",
"keyFile": "/path/to/key", // Key file absolute directory "keyFile": "/path/to/key","//": "Key file absolute directory",
"ocspStapling": 3600 // Verification cycle 3600 Second "ocspStapling": 3600,"//": "Verification cycle 3600 Second"
} }
], ],
"minVersion": "1.2" // If it is an ecc certificate, use TLSv1.2 at least. If you don't know the certificate type or it is not an ecc certificate, delete this line "minVersion": "1.2","//": "If it is an ecc certificate, use TLSv1.2 at least. If you don't know the certificate type or it is not an ecc certificate, delete this line"
} }
} }
} }

View File

@ -23,7 +23,7 @@
{ {
"address": "example.com", "address": "example.com",
"port": 443, "port": 443,
"password": "" // password "password": "","//": "填写你的 password"
} }
] ]
}, },
@ -31,10 +31,10 @@
"network": "grpc", "network": "grpc",
"security": "tls", "security": "tls",
"grpcSettings": { "grpcSettings": {
"serviceName": "", // ServiceName "serviceName": "","//": "填写你的 ServiceName",
//"idle_timeout": 60, // "//idle_timeout": 60,"//": "当这段时间内没有数据传输时,将会进行健康检查。可能会解决一些“断流”问题。",
//"initial_windows_size": 65536, // Cloudflare CDN Cloudflare CDN h2 GOAWAY "//initial_windows_size": 65536,"//": "通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。",
//"permit_without_stream": true // Cloudflare CDN Cloudflare CDN "//permit_without_stream": true,"//":"通过 Cloudflare CDN 且空闲(没有子连接)时,防止 Cloudflare CDN 关闭连接。"
} }
} }
}, },

View File

@ -9,14 +9,14 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"password": "" // password "password": "","//": "填写你的 password"
} }
] ]
}, },
"streamSettings": { "streamSettings": {
"network": "grpc", "network": "grpc",
"grpcSettings": { "grpcSettings": {
"serviceName": "" // ServiceName "serviceName": "","//": "填写你的 ServiceName"
} }
} }
} }

View File

@ -25,7 +25,7 @@
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"encryption": "none" "encryption": "none"
} }
] ]
@ -36,11 +36,11 @@
"network": "grpc", "network": "grpc",
"security": "tls", "security": "tls",
"grpcSettings": { "grpcSettings": {
"serviceName": "", // ServiceName "serviceName": "","//": "填写你的 ServiceName不带任何斜杠",
"multiMode": false, "multiMode": false,
//"idle_timeout": 60, // "//idle_timeout": 60,"//": "当这段时间内没有数据传输时,将会进行健康检查。可能会解决一些“断流”问题。",
//"initial_windows_size": 35536, // Cloudflare CDN Cloudflare CDN h2 GOAWAY "//initial_windows_size": 35536,"//": "通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。",
//"permit_without_stream": true // Cloudflare CDN Cloudflare CDN "//permit_without_stream": true,"//": "通过 Cloudflare CDN 且空闲(没有子连接)时,防止 Cloudflare CDN 关闭连接。"
} }
} }
}, },

View File

@ -9,7 +9,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "" // UUID "id": "","//": "填写你的 UUID"
} }
], ],
"decryption": "none" "decryption": "none"
@ -17,7 +17,7 @@
"streamSettings": { "streamSettings": {
"network": "grpc", "network": "grpc",
"grpcSettings": { "grpcSettings": {
"serviceName": "" // ServiceName "serviceName": "","//": "填写你的 ServiceName"
} }
} }
} }

View File

@ -26,13 +26,13 @@
] ]
}, },
"tlsSettings": { "tlsSettings": {
// "rejectUnknownSni": true, "//rejectUnknownSni": true,
"minVersion": "1.3", "minVersion": "1.3",
"alpn": ["h3"], "alpn": ["h3"],
"certificates": [ "certificates": [
{ {
"certificateFile": "CA.crt", // "certificateFile": "CA.crt","//": "换成你的证书,绝对路径",
"keyFile": "priv.key" // "keyFile": "priv.key","//": "换成你的私钥,绝对路径"
} }
] ]
} }

View File

@ -18,11 +18,11 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "example.com", // IP "address": "example.com","//": "换成你的域名或服务器 IP发起请求时无需解析域名了",
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"encryption": "none", "encryption": "none",
"level": 0 "level": 0
} }
@ -34,7 +34,7 @@
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"serverName": "example.com" // "serverName": "example.com","//": "换成你的域名"
} }
} }
} }

View File

@ -9,7 +9,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"level": 0, "level": 0,
"email": "love@example.com" "email": "love@example.com"
} }
@ -37,8 +37,8 @@
], ],
"certificates": [ "certificates": [
{ {
"certificateFile": "/path/to/fullchain.crt", // "certificateFile": "/path/to/fullchain.crt","//": "换成你的证书,绝对路径",
"keyFile": "/path/to/private.key" // "keyFile": "/path/to/private.key","//": "换成你的私钥,绝对路径"
} }
] ]
} }

View File

@ -18,11 +18,11 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "example.com", // "address": "example.com","//": "换成你的域名",
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"encryption": "none", "encryption": "none",
"level": 0 "level": 0
} }

View File

@ -9,7 +9,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"level": 0, "level": 0,
"email": "love@example.com" "email": "love@example.com"
} }
@ -30,8 +30,8 @@
], ],
"certificates": [ "certificates": [
{ {
"certificateFile": "/path/to/fullchain.crt", // "certificateFile": "/path/to/fullchain.crt","//": "换成你的证书,绝对路径",
"keyFile": "/path/to/private.key" // "keyFile": "/path/to/private.key","//": "换成你的私钥,绝对路径"
} }
] ]
} }

View File

@ -18,11 +18,11 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "example.com", // IP "address": "example.com","//": "换成你的域名或服务器 IP发起请求时无需解析域名了",
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"encryption": "none", "encryption": "none",
"level": 0 "level": 0
} }
@ -34,7 +34,7 @@
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"serverName": "example.com" // "serverName": "example.com","//": "换成你的域名"
} }
} }
} }

View File

@ -18,11 +18,11 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "example.com", // IP "address": "example.com","//": "换成你的域名或服务器 IP发起请求时无需解析域名了",
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"encryption": "none", "encryption": "none",
"level": 0 "level": 0
} }
@ -34,10 +34,10 @@
"network": "ws", "network": "ws",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"serverName": "example.com" // "serverName": "example.com","//": "换成你的域名"
}, },
"wsSettings": { "wsSettings": {
"path": "/websocket" // PATH "path": "/websocket","//": "必须换成自定义的 PATH需要和服务端的一致"
} }
} }
} }

View File

@ -9,7 +9,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"level": 0, "level": 0,
"email": "love@example.com" "email": "love@example.com"
} }
@ -20,7 +20,7 @@
"dest": 80 "dest": 80
}, },
{ {
"path": "/websocket", // PATH "path": "/websocket","//": "必须换成自定义的 PATH",
"dest": 1234, "dest": 1234,
"xver": 1 "xver": 1
} }
@ -35,8 +35,8 @@
], ],
"certificates": [ "certificates": [
{ {
"certificateFile": "/path/to/fullchain.crt", // "certificateFile": "/path/to/fullchain.crt","//": "换成你的证书,绝对路径",
"keyFile": "/path/to/private.key" // "keyFile": "/path/to/private.key","//": "换成你的私钥,绝对路径"
} }
] ]
} }
@ -49,7 +49,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"level": 0, "level": 0,
"email": "love@example.com" "email": "love@example.com"
} }
@ -60,8 +60,8 @@
"network": "ws", "network": "ws",
"security": "none", "security": "none",
"wsSettings": { "wsSettings": {
"acceptProxyProtocol": true, // Nginx/Caddy WS "acceptProxyProtocol": true,"//": "提醒:若你用 Nginx/Caddy 等反代 WS需要删掉这行",
"path": "/websocket" // PATH "path": "/websocket","//": "必须换成自定义的 PATH需要和上面的一致"
} }
} }
} }

View File

@ -25,8 +25,8 @@
}, },
"inbounds": [ "inbounds": [
{ {
"listen": "127.0.0.1", // Fill in 0.0.0.0 to allow connections from LAN "listen": "127.0.0.1","//": "Fill in 0.0.0.0 to allow connections from LAN",
"port": 10808, // local socks listening port "port": 10808,"//": "local socks listening port",
"protocol": "socks", "protocol": "socks",
"settings": { "settings": {
"udp": true "udp": true
@ -40,8 +40,8 @@
} }
}, },
{ {
"listen": "127.0.0.1", // Fill in "0.0.0.0" to allow connections from LAN "listen": "127.0.0.1","//": "Fill in 0.0.0.0 to allow connections from LAN",
"port": 10809, // Local http listening port "port": 10809,"//": "Local http listening port",
"protocol": "http", "protocol": "http",
"sniffing": { "sniffing": {
"enabled": true, "enabled": true,
@ -58,11 +58,11 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "", // Address, domain name or IP of the server "address": "","//": "Address, domain name or IP of the server",
"port": 443, // Port, consistent with the server "port": 443,"//": "Port, consistent with the server",
"users": [ "users": [
{ {
"id": "", // User ID, consistent with the server "id": "","//": "User ID, consistent with the server",
"encryption": "none", "encryption": "none",
"flow": "xtls-rprx-vision" "flow": "xtls-rprx-vision"
} }
@ -74,9 +74,9 @@
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"serverName": "", // SNI, if "address" is filled with the domain name of the server, it can be left blank. If "address" is filled with the IP of the server, fill in the domain name contained in the certificate of the server here "serverName": "","//": "SNI, if address is filled with the domain name of the server, it can be left blank. If address is filled with the IP of the server, fill in the domain name contained in the certificate of the server here",
"allowInsecure": false, "allowInsecure": false,
"fingerprint": "chrome" // Used to configure the fingerprint of the specified TLS Client Hello, Xray will simulate the TLS fingerprint through the uTLS library, or generate it randomly "fingerprint": "chrome","//": "Used to configure the fingerprint of the specified TLS Client Hello, Xray will simulate the TLS fingerprint through the uTLS library, or generate it randomly"
} }
}, },
"tag": "proxy" "tag": "proxy"

View File

@ -16,13 +16,13 @@
}, },
"inbounds": [ "inbounds": [
{ {
"listen": "0.0.0.0", // "0.0.0.0" Indicates listening to both IPv4 and IPv6 "listen": "0.0.0.0","//": "0.0.0.0 Indicates listening to both IPv4 and IPv6",
"port": 443, // The port on which the server listens "port": 443,"//": "The port on which the server listens",
"protocol": "vless", "protocol": "vless",
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "", // User ID, perform xray uuid generation, or a string of 1-30 bytes "id": "","//": "User ID, perform xray uuid generation, or a string of 1-30 bytes",
"flow": "xtls-rprx-vision" "flow": "xtls-rprx-vision"
} }
], ],
@ -48,8 +48,8 @@
"certificates": [ "certificates": [
{ {
"ocspStapling": 3600, "ocspStapling": 3600,
"certificateFile": "/etc/ssl/private/fullchain.cer", // For the certificate file, it is recommended to use fullchain (full SSL certificate chain). If there is only a website certificate, v2rayN can be used but v2rayNG cannot be used. Usually, the extension is not distinguished "certificateFile": "/etc/ssl/private/fullchain.cer","//": "For the certificate file, it is recommended to use fullchain (full SSL certificate chain). If there is only a website certificate, v2rayN can be used but v2rayNG cannot be used. Usually, the extension is not distinguished",
"keyFile": "/etc/ssl/private/private.key" // private key file "keyFile": "/etc/ssl/private/private.key","//": "private key file"
} }
] ]
} }
@ -76,8 +76,8 @@
"policy": { "policy": {
"levels": { "levels": {
"0": { "0": {
"handshake": 2, // The handshake time limit when the connection is established, in seconds, the default value is 4, it is recommended to be different from the default value "handshake": 2,"//": "The handshake time limit when the connection is established, in seconds, the default value is 4, it is recommended to be different from the default value",
"connIdle": 120 // Connection idle time limit in seconds, the default value is 300, it is recommended to be different from the default value "connIdle": 120,"//": "Connection idle time limit in seconds, the default value is 300, it is recommended to be different from the default value"
} }
} }
} }

View File

@ -23,11 +23,11 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "example.com", // Change to your domain. "address": "example.com","//": "Change to your domain.",
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "UUID", // Change to your UUID. "id": "UUID","//": "Change to your UUID.",
"encryption": "none" "encryption": "none"
} }
] ]
@ -39,10 +39,10 @@
"security": "tls", "security": "tls",
"splithttpSettings": { "splithttpSettings": {
"path": "/splithttp", "path": "/splithttp",
"host": "example.com" // Change to your domain. "host": "example.com","//": "Change to your domain."
}, },
"tlsSettings": { "tlsSettings": {
"serverName": "example.com", // Change to your domain. "serverName": "example.com","//": "Change to your domain.",
"alpn": [ "alpn": [
"h3" "h3"
] ]

View File

@ -15,7 +15,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "UUID" // Change to your UUID. "id": "UUID","//": "Change to your UUID."
} }
], ],
"decryption": "none" "decryption": "none"
@ -25,19 +25,20 @@
"security": "tls", "security": "tls",
"splithttpSettings": { "splithttpSettings": {
"path": "/splithttp", "path": "/splithttp",
"host": "example.com" // Change to your domain. "host": "example.com","//": "Change to your domain."
}, },
"tlsSettings": { "tlsSettings": {
"rejectUnknownSni": true, "rejectUnknownSni": true,
"minVersion": "1.3", "minVersion": "1.3",
"alpn": [ "alpn": [
"h3" // If you want to use with CDN, you need to change alpn to ["h2", "http/1.1"]. "h3"
], ],
"//": "If you want to use with CDN, you need to change alpn to [h2, http/1.1].",
"certificates": [ "certificates": [
{ {
"ocspStapling": 3600, "ocspStapling": 3600,
"certificateFile": "/path/to/fullchain.pem", // Change to your fullchain file path. "certificateFile": "/path/to/fullchain.pem","//": "Change to your fullchain file path.",
"keyFile": "/path/to/privkey.pem" // Change to your private key file path. "keyFile": "/path/to/privkey.pem","//": "Change to your private key file path."
} }
] ]
} }

View File

@ -25,7 +25,7 @@
"port": 443, "port": 443,
"users": [ "users": [
{ {
"id": "", // UUID "id": "","//": "填写你的 UUID",
"encryption": "none" "encryption": "none"
} }
] ]
@ -36,12 +36,12 @@
"network": "ws", "network": "ws",
"security": "tls", "security": "tls",
"wsSettings": { "wsSettings": {
"path": "/Path2WS?ed=2560" //?ed=2560 path "path": "/Path2WS?ed=2560","//": "?ed=2560 前面填写你的 path"
}, },
"tlsSettings": { "tlsSettings": {
"allowInsecure": false, "allowInsecure": false,
"serverName": "xx.com", //Equal to "SNI" "serverName": "xx.com","//": "Equal to SNI",
"fingerprint": "chrome" //"chrome" or "firefox" "fingerprint": "chrome","//": "chrome or firefox"
} }
} }
}, },

View File

@ -10,7 +10,7 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "" // UUID "id": "","//": "填写你的 UUID"
} }
], ],
"decryption": "none" "decryption": "none"
@ -18,7 +18,7 @@
"streamSettings": { "streamSettings": {
"network": "ws", "network": "ws",
"wsSettings": { "wsSettings": {
"path": "/Path2WS" // path "path": "/Path2WS","//": "填写你的 path"
} }
}, },
"sniffing": { "sniffing": {

View File

@ -45,7 +45,7 @@
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "1.2.3.4", // Server IPv4 "address": "1.2.3.4","//": "Server IPv4",
"port": 80, "port": 80,
"users": [ "users": [
{ {

View File

@ -19,7 +19,7 @@
"vnext": [ "vnext": [
{ {
"address": "{{ host }}", "address": "{{ host }}",
"port": {{ port }}, "port": "{{ port }}",
"users": [ "users": [
{ {
"id": "{{ uuid }}", "id": "{{ uuid }}",

View File

@ -5,7 +5,7 @@
"inbounds": [ "inbounds": [
{ {
"protocol": "vless", "protocol": "vless",
"port": {{ port }}, "port": "{{ port }}",
"settings": { "settings": {
"decryption":"none", "decryption":"none",
"clients": [ "clients": [

View File

@ -52,7 +52,7 @@
"network": "http", "network": "http",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"fingerprint": "chrome" // uTLS fingerprint as traffic camouflage, can be either "chrome" or "firefox" or deleted entirely to disable uTLS "fingerprint": "chrome","//": "uTLS fingerprint as traffic camouflage, can be either chrome or firefox or deleted entirely to disable uTLS"
} }
}, },
"tag": "proxy" "tag": "proxy"

View File

@ -52,7 +52,7 @@
"network": "ws", "network": "ws",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"fingerprint": "chrome" // uTLS fingerprint as traffic camouflage, can be either "chrome" or "firefox" or deleted entirely to disable uTLS "fingerprint": "chrome","//": "uTLS fingerprint as traffic camouflage, can be either chrome or firefox or deleted entirely to disable uTLS"
} }
}, },
"tag": "proxy" "tag": "proxy"