diff --git a/v2ray示例/香港节点/内核转发优化.txt b/v2ray示例/0-主机网络优化/内核转发优化.txt similarity index 100% rename from v2ray示例/香港节点/内核转发优化.txt rename to v2ray示例/0-主机网络优化/内核转发优化.txt diff --git a/v2ray示例/香港节点/0-xtls-reality的配置.json b/v2ray示例/0-香港节点/0-xtls-reality的配置.json similarity index 100% rename from v2ray示例/香港节点/0-xtls-reality的配置.json rename to v2ray示例/0-香港节点/0-xtls-reality的配置.json diff --git a/v2ray示例/香港节点/0-分层代理回落.json b/v2ray示例/0-香港节点/0-分层代理回落.json similarity index 95% rename from v2ray示例/香港节点/0-分层代理回落.json rename to v2ray示例/0-香港节点/0-分层代理回落.json index d09c7d2..b0fdf93 100644 --- a/v2ray示例/香港节点/0-分层代理回落.json +++ b/v2ray示例/0-香港节点/0-分层代理回落.json @@ -1,6 +1,6 @@ { "log": { - "loglevel": "debug" + "loglevel": "info" }, "inbounds": [ { @@ -23,12 +23,12 @@ "dest": "@trojan-h2" }, { - "dest": "5000", + "dest": "/dev/shm/h2c.sock", "xver": 2, "alpn": "h2" }, { - "dest": "5001", + "dest": "/dev/shm/h1.sock", "xver": 2 } ] diff --git a/v2ray示例/0-香港节点/nginx.conf b/v2ray示例/0-香港节点/nginx.conf new file mode 100644 index 0000000..046aede --- /dev/null +++ b/v2ray示例/0-香港节点/nginx.conf @@ -0,0 +1,57 @@ +# Restrict access to the website by IP or wrong domain name) and return 400 +server { + listen unix:/dev/shm/h2c.sock http2 proxy_protocol default_server; + # listen 5000; + # http2 on; + set_real_ip_from unix:; + real_ip_header proxy_protocol; + server_name _; + return 400 "not allowed"; +} +server { + # listen 5001; + listen unix:/dev/shm/h1.sock proxy_protocol default_server; + set_real_ip_from unix:; + real_ip_header proxy_protocol; + server_name _; + return 400 "not allowed"; +} + +# HTTP1 UDS listener +server { + listen unix:/dev/shm/h1.sock proxy_protocol; + # listen 5001; + server_name xx.s4.cc.hh.107421.xyz; + + set_real_ip_from unix:; + real_ip_header proxy_protocol; + + location / { + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; # enable HSTS + root /var/www/html/; + index index.html index.htm; + } +} + +# HTTP2 UDS listener +server { + listen unix:/dev/shm/h2c.sock http2 proxy_protocol; + + + set_real_ip_from unix:; + real_ip_header proxy_protocol; + + server_name xx.s4.cc.hh.107421.xyz; + + # grpc settings + # grpc_read_timeout 1h; + # grpc_send_timeout 1h; + # grpc_set_header X-Real-IP $remote_addr; + + # Decoy website + location / { + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; # enable HSTS + root /var/www/html; + index index.html index.htm; + } +} \ No newline at end of file diff --git a/v2ray示例/香港节点/分层代理回落.json b/v2ray示例/0-香港节点/分层代理回落.json similarity index 100% rename from v2ray示例/香港节点/分层代理回落.json rename to v2ray示例/0-香港节点/分层代理回落.json diff --git a/v2ray示例/香港节点/在线安装nginx.sh b/v2ray示例/0-香港节点/在线安装nginx.sh similarity index 100% rename from v2ray示例/香港节点/在线安装nginx.sh rename to v2ray示例/0-香港节点/在线安装nginx.sh diff --git a/v2ray示例/香港节点/清除腾讯云Agent.sh b/v2ray示例/0-香港节点/清除腾讯云Agent.sh similarity index 100% rename from v2ray示例/香港节点/清除腾讯云Agent.sh rename to v2ray示例/0-香港节点/清除腾讯云Agent.sh diff --git a/v2ray示例/香港节点/生成证书.sh b/v2ray示例/0-香港节点/生成证书.sh similarity index 85% rename from v2ray示例/香港节点/生成证书.sh rename to v2ray示例/0-香港节点/生成证书.sh index 6eb7930..d00aaba 100644 --- a/v2ray示例/香港节点/生成证书.sh +++ b/v2ray示例/0-香港节点/生成证书.sh @@ -2,6 +2,7 @@ export DOMAIN_NAME=xx.tc.hk.go.107421.xyz export DOMAIN_NAME=book.107421.xyz +export DOMAIN_NAME=octopus.107421.xyz export CF_Token="oXJRP5XI8Zhipa_PtYtB_jy6qWL0I9BosrJEYE8p" export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191" diff --git a/v2ray示例/香港节点/香港节点设计.png b/v2ray示例/0-香港节点/香港节点设计.png similarity index 100% rename from v2ray示例/香港节点/香港节点设计.png rename to v2ray示例/0-香港节点/香港节点设计.png diff --git a/v2ray示例/1-韩国中转/0-Vless回落中转-Seoul-ARM-01.json b/v2ray示例/1-韩国中转/0-Vless回落中转-Seoul-ARM-01.json new file mode 100644 index 0000000..b6e2adb --- /dev/null +++ b/v2ray示例/1-韩国中转/0-Vless回落中转-Seoul-ARM-01.json @@ -0,0 +1,275 @@ +{ + "log": { + "loglevel": "debug" + }, + "inbounds": [ + { + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5", + "flow": "xtls-rprx-vision", + "email": "cc@vless.com", + "level": 0 + } + ], + "decryption": "none", + "fallbacks": [ + { + "name": "pan.107421.xyz", + "dest": 5003, + "xver": 2 + }, + { + "path": "/tokyo2", + "dest": "@vless-ws-tokyo2", + "xver": 2 + }, + { + "path": "/phonix2", + "dest": "@vless-ws-phonix2", + "xver": 2 + }, + { + "path": "/osaka1", + "dest": "@vless-ws-osaka1", + "xver": 2 + }, + { + "dest": "/dev/shm/h2c.sock", + "xver": 2, + "alpn": "h2" + }, + { + "dest": "/dev/shm/h1.sock", + "xver": 2 + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/xx.s0.yy.ac.107421.xyz.key" + }, + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/pan.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/pan.107421.xyz_ecc/pan.107421.xyz.key" + } + ], + "minVersion": "1.2", + "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "alpn": [ + "h2", + "http/1.1" + ] + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + }, + { + "listen": "@vless-ws-tokyo2", + "protocol": "vless", + "settings": { + "clients": [ + { + "email": "general@vless-ws-tokyo2", + "id": "e64b78fc-6c9a-4e73-8a68-b4128f400029", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "acceptProxyProtocol": true, + "path": "/tokyo2" + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + }, + "tag": "Seoul-amd64-01->Tokyo-amd64-02" + }, + { + "listen": "@vless-ws-phonix2", + "protocol": "vless", + "settings": { + "clients": [ + { + "email": "general@vless-ws-phonix2", + "id": "d5f87956-3ec5-42b3-b577-1a9314b6e56a", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "acceptProxyProtocol": true, + "path": "/phonix2" + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + }, + "tag": "Seoul-amd64-01->Phoenix-amd64-02" + }, + { + "listen": "@vless-ws-osaka1", + "protocol": "vless", + "settings": { + "clients": [ + { + "email": "general@vless-ws-osaka1", + "id": "b53ae42b-6fb3-465d-956d-bc40dc0bbde5", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "acceptProxyProtocol": true, + "path": "/osaka1" + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + }, + "tag": "Seoul-amd64-01->Osaka-amd64-01" + } + ], + "outbounds": [ + { + "protocol": "freedom" + }, + { + "protocol": "freedom", + "tag": "Seoul-amd64-01" + }, + { + "protocol": "blackhole", + "tag": "block" + }, + { + "tag": "Seoul-amd64-01->Tokyo-amd64-02", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "140.238.52.228", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-amd64-01->Phoenix-amd64-02", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "129.146.171.163", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-amd64-01->London-amd64-01", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "141.147.99.91", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-amd64-01->Osaka-amd64-01", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "140.83.84.142", + "port": 1234 + } + ] + } + } + ], + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01" + ], + "outboundTag": "Seoul-amd64-01" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->Tokyo-amd64-02" + ], + "outboundTag": "Seoul-amd64-01->Tokyo-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->Phoenix-amd64-02" + ], + "outboundTag": "Seoul-amd64-01->Phoenix-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->London-amd64-01" + ], + "outboundTag": "Seoul-amd64-01->London-amd64-01" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->Osaka-amd64-01" + ], + "outboundTag": "Seoul-amd64-01->Osaka-amd64-01" + } + ] + } +} \ No newline at end of file diff --git a/v2ray示例/1-韩国中转/0-Vless回落中转.json b/v2ray示例/1-韩国中转/0-Vless回落中转.json new file mode 100644 index 0000000..de119fc --- /dev/null +++ b/v2ray示例/1-韩国中转/0-Vless回落中转.json @@ -0,0 +1,292 @@ +{ + "log": { + "loglevel": "error" + }, + "inbounds": [ + { + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5", + "flow": "xtls-rprx-vision", + "email": "cc@vless.com", + "level": 0 + } + ], + "decryption": "none", + "fallbacks": [ + { + "name": "/tokyo2", + "dest": "@vless-tcp-tokyo2", + "xver": 2 + }, + { + "path": "/phonix2", + "dest": "@vless-ws-phonix2", + "xver": 2 + }, + { + "path": "/osaka1", + "dest": "@vless-ws-osaka1", + "xver": 2 + }, + { + "dest": "/dev/shm/h2c.sock", + "xver": 2, + "alpn": "h2" + }, + { + "dest": "/dev/shm/h1.sock", + "xver": 2 + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key" + } + ], + "minVersion": "1.2", + "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "alpn": [ + "h2", + "http/1.1" + ] + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + }, + { + "listen": "@trojan-h2-tokyo2", + "protocol": "trojan", + "settings": { + "clients": [ + { + "email": "ice@qq.com", + "password": "Vad3.123a)asd1234-asdasd.asd1aczzS.123", + "level": 0 + } + ] + }, + "streamSettings": { + "network": "h2", + "security": "none", + "httpSettings": { + "path": "/tokyo2" + } + } + }, + { + "listen": "@vless-tcp-tokyo2", + "protocol": "vless", + "settings": { + "clients": [ + { + "email": "general@vless-tcp-tokyo2", + "id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "tcp", + "security": "none", + "tcpSettings": { + "acceptProxyProtocol": true, + "header": { + "type": "http", + "request": { + "path": [ + "/tokyo2" + ] + } + } + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + }, + "tag": "Seoul-amd64-01->Tokyo-amd64-02" + }, + { + "listen": "@vless-ws-phonix2", + "protocol": "vless", + "settings": { + "clients": [ + { + "email": "general@vless-ws-phonix2", + "id": "d5f87956-3ec5-42b3-b577-1a9314b6e56a", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "acceptProxyProtocol": true, + "path": "/phonix2" + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + }, + "tag": "Seoul-amd64-01->Phoenix-amd64-02" + }, + { + "listen": "@vless-ws-osaka1", + "protocol": "vless", + "settings": { + "clients": [ + { + "email": "general@vless-ws-osaka1", + "id": "b53ae42b-6fb3-465d-956d-bc40dc0bbde5", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "acceptProxyProtocol": true, + "path": "/osaka1" + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + }, + "tag": "Seoul-amd64-01->Osaka-amd64-01" + } + ], + "outbounds": [ + { + "protocol": "freedom" + }, + { + "protocol": "freedom", + "tag": "Seoul-amd64-01" + }, + { + "protocol": "blackhole", + "tag": "block" + }, + { + "tag": "Seoul-amd64-01->Tokyo-amd64-02", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "140.238.52.228", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-amd64-01->Phoenix-amd64-02", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "129.146.171.163", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-amd64-01->London-amd64-01", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "141.147.99.91", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-amd64-01->Osaka-amd64-01", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "140.83.84.142", + "port": 1234 + } + ] + } + } + ], + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01" + ], + "outboundTag": "Seoul-amd64-01" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->Tokyo-amd64-02" + ], + "outboundTag": "Seoul-amd64-01->Tokyo-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->Phoenix-amd64-02" + ], + "outboundTag": "Seoul-amd64-01->Phoenix-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->London-amd64-01" + ], + "outboundTag": "Seoul-amd64-01->London-amd64-01" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-amd64-01->Osaka-amd64-01" + ], + "outboundTag": "Seoul-amd64-01->Osaka-amd64-01" + } + ] + } +} \ No newline at end of file diff --git a/v2ray示例/香港节点/nginx.conf b/v2ray示例/1-韩国中转/nginx.conf similarity index 63% rename from v2ray示例/香港节点/nginx.conf rename to v2ray示例/1-韩国中转/nginx.conf index 7c33ee1..c41f94a 100644 --- a/v2ray示例/香港节点/nginx.conf +++ b/v2ray示例/1-韩国中转/nginx.conf @@ -1,26 +1,31 @@ # Restrict access to the website by IP or wrong domain name) and return 400 server { - # listen unix:/dev/shm/h1.sock proxy_protocol default_server; - # listen unix:/dev/shm/h2c.sock http2 proxy_protocol default_server; - listen 5000; + listen unix:/dev/shm/h2c.sock proxy_protocol default_server; + # listen 5000; http2 on; - # set_real_ip_from unix:; - # real_ip_header proxy_protocol; + set_real_ip_from unix:; + real_ip_header proxy_protocol; server_name _; return 400 "not allowed"; } server { - listen 5001; + # listen 5001; + listen unix:/dev/shm/h1.sock proxy_protocol default_server; + set_real_ip_from unix:; + real_ip_header proxy_protocol; server_name _; return 400 "not allowed"; } # HTTP1 UDS listener server { - #listen unix:/dev/shm/h1.sock proxy_protocol; - listen 5001; + listen unix:/dev/shm/h1.sock proxy_protocol; + # listen 5001; server_name xx.tc.hk.go.107421.xyz book.107421.xyz; + set_real_ip_from unix:; + real_ip_header proxy_protocol; + location / { add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; # enable HSTS root /var/www/html/; @@ -30,9 +35,12 @@ server { # HTTP2 UDS listener server { - # listen unix:/dev/shm/h2c.sock http2 proxy_protocol; - listen 5000; + listen unix:/dev/shm/h2c.sock proxy_protocol; + # listen 5000; http2 on; + + set_real_ip_from unix:; + real_ip_header proxy_protocol; server_name xx.tc.hk.go.107421.xyz book.107421.xyz; diff --git a/v2ray示例/2-上海中转/0-Shanghai.json b/v2ray示例/2-上海中转/0-Shanghai.json new file mode 100644 index 0000000..be37895 --- /dev/null +++ b/v2ray示例/2-上海中转/0-Shanghai.json @@ -0,0 +1,135 @@ +{ + "inbounds": [ + { + "tag": "proxy-socks", + "port": 22888, + "listen": "0.0.0.0", + "protocol": "socks", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ], + "routeOnly": false + }, + "settings": { + "auth": "password", + "accounts": [ + { + "user": "zeaslity", + "pass": "lovemm.23" + } + ], + "udp": true, + "allowTransparent": false + } + }, + { + "tag": "direct", + "port": 22887, + "listen": "0.0.0.0", + "protocol": "socks", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ], + "routeOnly": false + }, + "settings": { + "auth": "password", + "accounts": [ + { + "user": "zeaslity", + "pass": "lovemm.23" + } + ], + "udp": true, + "allowTransparent": false + } + } + ], + "outbounds": [ + { + "tag": "proxy", + "protocol": "vless", + "settings": { + "vnext": [ + { + "address": "89.208.251.209", + "port": 443, + "users": [ + { + "id": "717c40e7-efeb-45bc-8f5e-4e6e7d9eea18", + "email": "t@t.tt", + "security": "auto", + "encryption": "none", + "flow": "xtls-rprx-vision" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "allowInsecure": false, + "serverName": "octopus.107421.xyz", + "alpn": [ + "h2" + ], + "fingerprint": "firefox" + } + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + }, + { + "tag": "direct", + "protocol": "freedom", + "settings": {} + }, + { + "tag": "block", + "protocol": "blackhole", + "settings": { + "response": { + "type": "http" + } + } + } + ], + "dns": { + "servers": [ + "119.29.29.29", + "223.5.5.5", + "1.1.1.1", + "8.8.8.8" + ] + }, + "routing": { + "domainStrategy": "IPIfNonMatch", + "domainMatcher": "mph", + "rules": [ + { + "type": "field", + "outboundTag": "proxy", + "inboundTag": [ + "proxy-socks" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "inboundTag": [ + "direct" + ] + } + ] + } +} \ No newline at end of file diff --git a/v2ray示例/2-上海中转/1-client.json b/v2ray示例/2-上海中转/1-client.json new file mode 100644 index 0000000..9687e0f --- /dev/null +++ b/v2ray示例/2-上海中转/1-client.json @@ -0,0 +1,236 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "tag": "socks", + "port": 10808, + "listen": "127.0.0.1", + "protocol": "socks", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ], + "routeOnly": false + }, + "settings": { + "auth": "noauth", + "udp": true, + "allowTransparent": false + } + }, + { + "tag": "http", + "port": 10809, + "listen": "127.0.0.1", + "protocol": "http", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ], + "routeOnly": false + }, + "settings": { + "auth": "noauth", + "udp": true, + "allowTransparent": false + } + } + ], + "outbounds": [ + { + "tag": "proxy", + "protocol": "vless", + "settings": { + "vnext": [ + { + "address": "89.208.251.209", + "port": 443, + "users": [ + { + "id": "717c40e7-efeb-45bc-8f5e-4e6e7d9eea18", + "email": "t@t.tt", + "security": "auto", + "encryption": "none", + "flow": "xtls-rprx-vision" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "allowInsecure": false, + "serverName": "octopus.107421.xyz", + "alpn": [ + "h2" + ], + "fingerprint": "firefox" + } + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + }, + { + "tag": "direct", + "protocol": "freedom", + "settings": {} + }, + { + "tag": "block", + "protocol": "blackhole", + "settings": { + "response": { + "type": "http" + } + } + } + ], + "dns": { + "hosts": { + "dns.google": "8.8.8.8", + "proxy.example.com": "127.0.0.1" + }, + "servers": [ + { + "address": "223.5.5.5", + "domains": [ + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + "1.1.1.1", + "8.8.8.8", + "https://dns.google/dns-query" + ] + }, + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "inboundTag": [ + "api" + ], + "outboundTag": "api" + }, + { + "type": "field", + "outboundTag": "proxy", + "domain": [ + "domain:googleapis.cn", + "domain:gstatic.com" + ] + }, + { + "type": "field", + "port": "443", + "network": "udp", + "outboundTag": "block" + }, + { + "type": "field", + "outboundTag": "block", + "domain": [ + "geosite:category-ads-all" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "ip": [ + "geoip:private" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "domain": [ + "geosite:private" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "ip": [ + "223.5.5.5", + "223.6.6.6", + "2400:3200::1", + "2400:3200:baba::1", + "119.29.29.29", + "1.12.12.12", + "120.53.53.53", + "2402:4e00::", + "2402:4e00:1::", + "180.76.76.76", + "2400:da00::6666", + "114.114.114.114", + "114.114.115.115", + "114.114.114.119", + "114.114.115.119", + "114.114.114.110", + "114.114.115.110", + "180.184.1.1", + "180.184.2.2", + "101.226.4.6", + "218.30.118.6", + "123.125.81.6", + "140.207.198.6", + "1.2.4.8", + "210.2.4.8", + "52.80.66.66", + "117.50.22.22", + "2400:7fc0:849e:200::4", + "2404:c2c0:85d8:901::4", + "117.50.10.10", + "52.80.52.52", + "2400:7fc0:849e:200::8", + "2404:c2c0:85d8:901::8", + "117.50.60.30", + "52.80.60.30" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "domain": [ + "domain:alidns.com", + "domain:doh.pub", + "domain:dot.pub", + "domain:360.cn", + "domain:onedns.net" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "ip": [ + "geoip:cn" + ] + }, + { + "type": "field", + "outboundTag": "direct", + "domain": [ + "geosite:cn" + ] + }, + { + "type": "field", + "port": "0-65535", + "outboundTag": "proxy" + } + ] + } +} \ No newline at end of file diff --git a/v2ray示例/3-搬瓦工节点/0-分层代理.json b/v2ray示例/3-搬瓦工节点/0-分层代理.json new file mode 100644 index 0000000..5109922 --- /dev/null +++ b/v2ray示例/3-搬瓦工节点/0-分层代理.json @@ -0,0 +1,94 @@ +{ + "log": { + "loglevel": "error" + }, + "inbounds": [ + { + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "717c40e7-efeb-45bc-8f5e-4e6e7d9eea18", + "flow": "xtls-rprx-vision", + "email": "cc@gg.com", + "level": 0 + } + ], + "decryption": "none", + "fallbacks": [ + { + "name": "xx.l4.cc.nn.107421.xyz", + "alpn": "h2", + "dest": "@trojan-h2" + }, + { + "dest": "/dev/shm/h2c.sock", + "xver": 2, + "alpn": "h2" + }, + { + "dest": "/dev/shm/h1.sock", + "xver": 2 + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/octopus.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/octopus.107421.xyz_ecc/octopus.107421.xyz.key" + }, + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/xx.l4.cc.nn.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.l4.cc.nn.107421.xyz_ecc/xx.l4.cc.nn.107421.xyz.key" + } + ], + "minVersion": "1.2", + "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "alpn": [ + "h2", + "http/1.1" + ] + } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + }, + { + "listen": "@trojan-h2", + "protocol": "trojan", + "settings": { + "clients": [ + { + "email": "ice@qq.com", + "password": "Vad3.123a)asd@1234-as.dasd.asdazzS.123", + "level": 0 + } + ] + }, + "streamSettings": { + "network": "h2", + "security": "none", + "httpSettings": { + "path": "/status" + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom" + } + ] +} \ No newline at end of file diff --git a/v2ray示例/98-subscribe-clash.yaml b/v2ray示例/98-subscribe-clash.yaml index db23f0f..9a9ae69 100644 --- a/v2ray示例/98-subscribe-clash.yaml +++ b/v2ray示例/98-subscribe-clash.yaml @@ -54,35 +54,29 @@ dns: proxies: - {"type":"vmess","name":"us-central-free","ws-opts":{"path":"/vmess"},"server":"northflank.107421.xyz","port":443,"uuid":"de04add9-5c68-8bab-950c-08cd5320df18","alterId":0,"cipher":"auto","network":"ws","tls":true} - - {"type":"trojan","name":"LosAngels-BanH-Trojan","server":"89.208.251.209","port":23306,"password":"G1c.adv12.Pac","udp":true,"skip-cert-verify":false,"sni":"xx.l4.cc.nn.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.l4.cc.nn.107421.xyzh2,http/1.1"}}} - - {"type":"trojan","name":"Seoul-Trojan","server":"140.238.14.103","port":443,"password":"V2ryStr0ngP0ss","udp":true,"skip-cert-verify":false,"sni":"xx.s4.cc.hh.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.s4.cc.hh.107421.xyzh2,http/1.1"}}} - - {"type":"trojan","name":"Osaka-Trojan","server":"140.238.14.103","port":19997,"password":"V2ryStr0ngP0ss","udp":true,"skip-cert-verify":false,"sni":"xx.s4.cc.hh.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.s4.cc.hh.107421.xyzh2,http/1.1"}}} - - {"type":"trojan","name":"Tokyo-Trojan","server":"140.238.14.103","port":19999,"password":"V2ryStr0ngP0ss","udp":true,"skip-cert-verify":false,"sni":"xx.s4.cc.hh.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.s4.cc.hh.107421.xyzh2,http/1.1"}}} - - {"type":"trojan","name":"Phoenix-Trojan","server":"140.238.14.103","port":19998,"password":"V2ryStr0ngP0ss","udp":true,"skip-cert-verify":false,"sni":"xx.s4.cc.hh.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.s4.cc.hh.107421.xyzh2,http/1.1"}}} - - {"type":"trojan","name":"Seoul-arm64-01-Trojan","server":"132.145.87.10","port":30000,"password":"V2ryStr0ngP0ss","udp":true,"skip-cert-verify":false,"sni":"xx.s0.yy.ac.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.s0.yy.ac.107421.xyzh2,http/1.1"}}} - - {"type":"trojan","name":"TC-HK-Trojan","server":"43.154.83.213","port":443,"password":"Vad3.123a%29asd1234-asdasd.asdazzS.123","udp":true,"skip-cert-verify":false,"sni":"xx.tc.hk.go.107421.xyz","network":"http","ws-opts":{"path":"trh2"}} - - {"type":"vless","name":"TC-HK-Vless","server":"43.154.83.213","port":443,"uuid":"b4bdf874-8c03-5bd8-8fd7-5e409dfd82c0","skip-cert-verify":false,"network":"tcp","flow":"xtls-rprx-vision","servername":"book.107421.xyz","tls":true,"udp":true} - {"type":"socks5","name":"onetools-35-71","server":"192.168.35.71","port":22888,"username":"zeaslity","password":"password","udp":true} - - {"type":"trojan","name":"LosAngels-BanH-Trojan-Back","server":"89.208.251.209","port":443,"password":"Gaa.c12c.389-cc","udp":true,"skip-cert-verify":false,"sni":"xx.l4.cc.nn.107421.xyz","network":"tcp","ws-opts":{"headers":{"host":"xx.l4.cc.nn.107421.xyzh2,http/1.1"}}} - - {"type":"socks5","name":"Seoul-F-Shanghai-TC","server":"42.192.52.227","port":22888,"username":"zeaslity","password":"lovemm.23","udp":true} - - {"type":"socks5","name":"Shanghai-TC","server":"42.192.52.227","port":22887,"username":"zeaslity","password":"lovemm.23","udp":true} + - {"type":"socks5","name":"TC-SH-LosA-BanH","server":"42.192.52.227","port":22887,"username":"zeaslity","password":"lovemm.23","udp":true} + - {"type":"socks5","name":"TC-SH","server":"42.192.52.227","port":22888,"username":"zeaslity","password":"lovemm.23","udp":true} + - {"type":"trojan","name":"TC-HK-Trojan","server":"43.154.83.213","port":443,"password":"Vad3.123a)asd1234-asdasd.asdazzS.123","udp":true,"skip-cert-verify":false,"sni":"xx.tc.hk.go.107421.xyz","network":"http","ws-opts":{"path":"trh2"}} + - {"type":"vless","name":"TC-HK-Vless","server":"43.154.83.213","port":443,"uuid":"b4bdf874-8c03-5bd8-8fd7-5e409dfd82c0","skip-cert-verify":false,"network":"tcp","flow":"xtls-rprx-vision","servername":"book.107421.xyz","tls":true,"udp":true} + - {"type":"vless","name":"Oracle-Seoul-ARM01-Vless","server":"132.145.87.10","port":443,"uuid":"1dde748d-32ee-4ed7-b70b-f2376d34e7e5","skip-cert-verify":false,"network":"tcp","flow":"xtls-rprx-vision","servername":"xx.s0.yy.ac.107421.xyz","tls":true,"udp":true} + - {"type":"vless","name":"Oracle-Seoul-Vless","server":"140.238.14.103","port":443,"uuid":"1dde748d-32ee-4ed7-b70b-f2376d34e7e5","skip-cert-verify":false,"network":"tcp","flow":"xtls-rprx-vision","servername":"xx.s4.cc.hh.107421.xyz","tls":true,"udp":true} + - {"type":"vless","name":"BanH-LosA-Vless","server":"89.208.251.209","port":443,"uuid":"717c40e7-efeb-45bc-8f5e-4e6e7d9eea18","skip-cert-verify":false,"network":"tcp","flow":"xtls-rprx-vision","servername":"octopus.107421.xyz","tls":true,"udp":true} + - {"type":"trojan","name":"BanH-LosA-Trojan","server":"89.208.251.209","port":443,"password":"Vad3.123a)asd@1234-as.dasd.asdazzS.123","udp":true,"skip-cert-verify":false,"sni":"xx.l4.cc.nn.107421.xyz","network":"http","ws-opts":{"path":"status","headers":{"host":"xx.l4.cc.nn.107421.xyz"}}} proxy-groups: - name: 🚀 节点选择 type: select proxies: - - LosAngels-BanH-Trojan - - us-central-free - - Seoul-Trojan - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan - - TC-HK-Trojan - TC-HK-Vless + - BanH-LosA-Vless + - BanH-LosA-Trojan + - us-central-free + - Oracle-Seoul-Vless + - Oracle-Seoul-ARM01-Vless + - TC-SH + - TC-HK-Trojan - onetools-35-71 - - Seoul-F-Shanghai-TC - - Shanghai-TC - - LosAngels-BanH-Trojan-Back + - TC-SH-LosA-BanH - ♻️ 自动选择 - DIRECT - name: ♻️ 自动选择 @@ -91,32 +85,25 @@ proxy-groups: interval: 300 tolerance: 50 proxies: - - LosAngels-BanH-Trojan + - BanH-LosA-Trojan - TC-HK-Trojan - us-central-free - - Seoul-Trojan - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan - - LosAngels-BanH-Trojan-Back - - TC-HK-Vless - - Seoul-F-Shanghai-TC - - Shanghai-TC + - Oracle-Seoul-Vless + - Oracle-Seoul-ARM01-Vless + - BanH-LosA-Vless + - TC-HK-Vless + - TC-SH-LosA-BanH - name: 🌍 国外媒体 type: select proxies: - 🚀 节点选择 - ♻️ 自动选择 - 🎯 全球直连 - - LosAngels-BanH-Trojan + - BanH-LosA-Trojan - us-central-free - - Seoul-Trojan - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan - - LosAngels-BanH-Trojan-Back + - Oracle-Seoul-Vless + - Oracle-Seoul-ARM01-Vless + - BanH-LosA-Vless - TC-HK-Trojan - TC-HK-Vless - name: 📲 电报信息 @@ -124,42 +111,33 @@ proxy-groups: proxies: - 🚀 节点选择 - 🎯 全球直连 - - LosAngels-BanH-Trojan + - BanH-LosA-Trojan - TC-HK-Trojan - us-central-free - - Seoul-Trojan - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan + - Oracle-Seoul-Vless + - Oracle-Seoul-ARM01-Vless - TC-HK-Vless - name: Ⓜ️ 微软服务 type: select proxies: - 🎯 全球直连 - 🚀 节点选择 - - LosAngels-BanH-Trojan + - BanH-LosA-Trojan - TC-HK-Trojan - - Seoul-Trojan - - us-central-free - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan + - Oracle-Seoul-Vless + - us-central-free + - Oracle-Seoul-ARM01-Vless - TC-HK-Vless - name: 🍎 苹果服务 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - - LosAngels-BanH-Trojan + - BanH-LosA-Trojan - TC-HK-Trojan - us-central-free - - Seoul-Trojan - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan + - Oracle-Seoul-Vless + - Oracle-Seoul-ARM01-Vless - TC-HK-Vless - name: 💩 工作直连 type: select @@ -192,15 +170,13 @@ proxy-groups: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - - LosAngels-BanH-Trojan + - TC-HK-Vless + - BanH-LosA-Trojan - TC-HK-Trojan - us-central-free - - Seoul-Trojan - - Osaka-Trojan - - Tokyo-Trojan - - Phoenix-Trojan - - Seoul-arm64-01-Trojan - - TC-HK-Vless + - Oracle-Seoul-Vless + - Oracle-Seoul-ARM01-Vless + rules: - DOMAIN-SUFFIX,cdcyy.cn,💩 工作直连 - DOMAIN-SUFFIX,hq.cmcc,💩 工作直连 diff --git a/v2ray示例/99-subscribe-octopus-latest.txt b/v2ray示例/99-subscribe-octopus-latest.txt index 1030c41..f67c272 100644 --- a/v2ray示例/99-subscribe-octopus-latest.txt +++ b/v2ray示例/99-subscribe-octopus-latest.txt @@ -1,10 +1,8 @@ vmess://eyJ2IjoiMiIsInBzIjoidXMtY2VudGUtZnJlZSIsImFkZCI6Im5vcnRoZmxhbmsuMTA3NDIxLnh5eiIsInBvcnQiOjQ0MywiaWQiOiJkZTA0YWRkOS01YzY4LThiYWItOTUwYy0wOGNkNTMyMGRmMTgiLCJhaWQiOjAsInNjeSI6ImF1dG8iLCJuZXQiOiJ3cyIsInBhdGgiOiIvdm1lc3MiLCJ0bHMiOiJ0bHMifQ== -trojan://V2ryStr0ngP0ss@140.238.14.103:443?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Seoul-Trojan -trojan://Gaa.c12c.389-cc@89.208.251.209:443?security=tls&sni=xx.l4.cc.nn.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=safari&type=tcp&headerType=none#LosAngels-BanH-Trojan-443 -trojan://G1c.adv12.Pac@89.208.251.209:23306?security=tls&sni=xx.l4.cc.nn.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=safari&type=tcp&headerType=none#LosAngels-BanH-Trojan-23789 -trojan://V2ryStr0ngP0ss@140.238.14.103:19997?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Osaka-Trojan -trojan://V2ryStr0ngP0ss@140.238.14.103:19999?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Tokyo-Trojan -trojan://V2ryStr0ngP0ss@140.238.14.103:19998?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Pheonix-Trojan -trojan://V2ryStr0ngP0ss@132.145.87.10:30000?type=tcp&sni=xx.s0.yy.ac.107421.xyz&allowInsecure=0&host=xx.s0.yy.ac.107421.xyzh2,http/1.1#Seoul-arm64-01-Trojan -trojan://V2ryStr0ngP0ss@43.154.83.213:443?type=tcp&sni=xx.tc.hk.go.107421.xyz&allowInsecure=0h2,http/1.1#Tencent-Hkong-Trojan -vless://fc903f5d-a007-482b-928c-570da9a851f9@43.154.83.213:29999?security=reality&flow=xtls-rprx-vision&type=tcp&sni=xx.tc.hk.go.107421.xyz&fp=chrome&pbk=IBKk7cbbpnarU9sxJx84tXztytBFH2oCNfy7FlLVjDg&sid=ad570cbfab&encryption=none&headerType=none#Tencent-HK-11.24 +trojan://Vad3.123a%29asd1234-asdasd.asdazzS.123@43.154.83.213:443?flow=xtls-rprx-vision&security=tls&sni=xx.tc.hk.go.107421.xyz&alpn=h2&fp=firefox&type=http&path=trh2#TC-HK-Trojan +vless://b4bdf874-8c03-5bd8-8fd7-5e409dfd82c0@43.154.83.213:443?encryption=none&flow=xtls-rprx-vision&security=tls&sni=book.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=firefox&type=tcp&headerType=none#TC-HK-Vless +vless://1dde748d-32ee-4ed7-b70b-f2376d34e7e5@132.145.87.10:443?encryption=none&flow=xtls-rprx-vision&security=tls&sni=xx.s0.yy.ac.107421.xyz&alpn=h2&fp=firefox&type=tcp&headerType=none&host=xx.s0.yy.ac.107421.xyz#Oracle-Seoul-ARM01-Vless +vless://1dde748d-32ee-4ed7-b70b-f2376d34e7e5@140.238.14.103:443?encryption=none&flow=xtls-rprx-vision&security=tls&sni=xx.s4.cc.hh.107421.xyz&alpn=h2&fp=firefox&type=tcp&headerType=none&host=xx.s4.cc.hh.107421.xyz#Oracle-Seoul-Vless +socks://emVhc2xpdHk6bG92ZW1tLjIz@42.192.52.227:22888#TC-SH-LosA-BanH +vless://717c40e7-efeb-45bc-8f5e-4e6e7d9eea18@89.208.251.209:443?encryption=none&flow=xtls-rprx-vision&security=tls&sni=octopus.107421.xyz&alpn=h2&fp=firefox&type=tcp&headerType=none#BanH-LosA-Vless +trojan://Vad3.123a%29asd%401234-as.dasd.asdazzS.123@89.208.251.209:443?flow=xtls-rprx-vision&security=tls&sni=xx.l4.cc.nn.107421.xyz&alpn=h2&fp=firefox&type=http&host=xx.l4.cc.nn.107421.xyz&path=status#BanH-LosA-Trojan