diff --git a/v2ray示例/98-subscribe-clash.yaml b/v2ray示例/98-subscribe-clash.yaml index 457150a..db23f0f 100644 --- a/v2ray示例/98-subscribe-clash.yaml +++ b/v2ray示例/98-subscribe-clash.yaml @@ -29,10 +29,10 @@ dns: - 192.168.78.39 - 192.168.34.40 fallback: # 解析国外的网址 + - https://1.1.1.1/dns-query - 1.1.1.1 - 8.8.8.8 - 223.5.5.5 - - https://1.1.1.1/dns-query - https://doh.pub/dns-query fallback-filter: geoip: true @@ -60,8 +60,8 @@ proxies: - {"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":"HongK-Tencent-Trojan","server":"43.154.83.213","port":443,"password":"V2ryStr0ngP0ss","udp":true,"skip-cert-verify":false,"sni":"xx.tc.hk.go.107421.xyz","path": "/status", "network":"tcp"} - - {"type":"vless","name":"Tencent-HK-11.24","server":"43.154.83.213","port":29999,"uuid":"fc903f5d-a007-482b-928c-570da9a851f9","skip-cert-verify":false,"network":"tcp","flow":"xtls-rprx-vision","servername":"xx.tc.hk.go.107421.xyz","tls":true,"udp":true} + - {"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} @@ -77,8 +77,8 @@ proxy-groups: - Tokyo-Trojan - Phoenix-Trojan - Seoul-arm64-01-Trojan - - HongK-Tencent-Trojan - - Tencent-HK-11.24 + - TC-HK-Trojan + - TC-HK-Vless - onetools-35-71 - Seoul-F-Shanghai-TC - Shanghai-TC @@ -92,7 +92,7 @@ proxy-groups: tolerance: 50 proxies: - LosAngels-BanH-Trojan - - HongK-Tencent-Trojan + - TC-HK-Trojan - us-central-free - Seoul-Trojan - Osaka-Trojan @@ -100,7 +100,7 @@ proxy-groups: - Phoenix-Trojan - Seoul-arm64-01-Trojan - LosAngels-BanH-Trojan-Back - - Tencent-HK-11.24 + - TC-HK-Vless - Seoul-F-Shanghai-TC - Shanghai-TC - name: 🌍 国外媒体 @@ -117,50 +117,50 @@ proxy-groups: - Phoenix-Trojan - Seoul-arm64-01-Trojan - LosAngels-BanH-Trojan-Back - - HongK-Tencent-Trojan - - Tencent-HK-11.24 + - TC-HK-Trojan + - TC-HK-Vless - name: 📲 电报信息 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - LosAngels-BanH-Trojan - - HongK-Tencent-Trojan + - TC-HK-Trojan - us-central-free - Seoul-Trojan - Osaka-Trojan - Tokyo-Trojan - Phoenix-Trojan - Seoul-arm64-01-Trojan - - Tencent-HK-11.24 + - TC-HK-Vless - name: Ⓜ️ 微软服务 type: select proxies: - 🎯 全球直连 - 🚀 节点选择 - LosAngels-BanH-Trojan - - HongK-Tencent-Trojan + - TC-HK-Trojan - Seoul-Trojan - us-central-free - Osaka-Trojan - Tokyo-Trojan - Phoenix-Trojan - Seoul-arm64-01-Trojan - - Tencent-HK-11.24 + - TC-HK-Vless - name: 🍎 苹果服务 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - LosAngels-BanH-Trojan - - HongK-Tencent-Trojan + - TC-HK-Trojan - us-central-free - Seoul-Trojan - Osaka-Trojan - Tokyo-Trojan - Phoenix-Trojan - Seoul-arm64-01-Trojan - - Tencent-HK-11.24 + - TC-HK-Vless - name: 💩 工作直连 type: select proxies: @@ -193,14 +193,14 @@ proxy-groups: - 🎯 全球直连 - ♻️ 自动选择 - LosAngels-BanH-Trojan - - HongK-Tencent-Trojan + - TC-HK-Trojan - us-central-free - Seoul-Trojan - Osaka-Trojan - Tokyo-Trojan - Phoenix-Trojan - Seoul-arm64-01-Trojan - - Tencent-HK-11.24 + - TC-HK-Vless rules: - DOMAIN-SUFFIX,cdcyy.cn,💩 工作直连 - DOMAIN-SUFFIX,hq.cmcc,💩 工作直连 diff --git a/v2ray示例/香港节点/0-xtls-reality的配置.json b/v2ray示例/香港节点/0-xtls-reality的配置.json new file mode 100644 index 0000000..e24610b --- /dev/null +++ b/v2ray示例/香港节点/0-xtls-reality的配置.json @@ -0,0 +1,38 @@ +{ + "listen": "0.0.0.0", + "port": 29999, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "RoMoH00dOl3zaQjdUKB6W0SS-wDYENgI3I7cREYwp1M", + "flow": "xtls-rprx-vision" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "tcp", + "security": "reality", + "realitySettings": { + "dest": "speed.cloudflare.com", + "serverNames": [ + "speed.cloudflare.com" + ], + "privateKey": "yNsDptp-3i-KqhLHA-RBLrVlJuiYeDUekirp-fkerQA", + "shortIds": [ + "abc124cc", + "666asdcd" + ] + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ], + "routeOnly": true + } + } +} \ No newline at end of file diff --git a/v2ray示例/香港节点/0-分层代理回落.json b/v2ray示例/香港节点/0-分层代理回落.json new file mode 100644 index 0000000..be9e639 --- /dev/null +++ b/v2ray示例/香港节点/0-分层代理回落.json @@ -0,0 +1,94 @@ +{ + "log": { + "loglevel": "debug" + }, + "inbounds": [ + { + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "b4bdf874-8c03-5bd8-8fd7-5e409dfd82c0", + "flow": "xtls-rprx-vision", + "email": "cc@vless.com", + "level": 0 + } + ], + "decryption": "none", + "fallbacks": [ + { + "name": "xx.tc.hk.go.107421.xyz", + "alpn": "h2", + "dest": "@trojan-h2" + }, + { + "dest": "/dev/shm/h2c.sock", + "xver": 1, + "alpn": "h2" + }, + { + "dest": "/dev/shm/h1.sock", + "xver": 2 + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/book.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/book.107421.xyz_ecc/book.107421.xyz.key" + }, + { + "ocspStapling": 3600, + "certificateFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key" + } + ], + "minVersion": "1.2", + "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_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)asd1234-asdasd.asdazzS.123", + "level": 0 + } + ] + }, + "streamSettings": { + "network": "h2", + "security": "none", + "httpSettings": { + "path": "/trh2" + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom" + } + ] +} \ No newline at end of file diff --git a/v2ray示例/香港节点/nginx.conf b/v2ray示例/香港节点/nginx.conf new file mode 100644 index 0000000..29a29ea --- /dev/null +++ b/v2ray示例/香港节点/nginx.conf @@ -0,0 +1,43 @@ +# 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; + set_real_ip_from unix:; + real_ip_header proxy_protocol; + server_name _; + return 400; +} + +# HTTP1 UDS listener +server { + listen unix:/dev/shm/h1.sock proxy_protocol; # HTTP/1.1 server monitor process and enable PROXY protocol reception + set_real_ip_from unix:; + real_ip_header proxy_protocol; + server_name book.107421.xyz xx.tc.hk.go.107421.xyz; # Change to your own domain name(s) + + location / { + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; # enable HSTS + root /var/www/html; # Modify to the path of the WEB file stored by yourself (check the permissions) + index index.html index.htm; + } +} + +# HTTP2 UDS listener +server { + listen unix:/dev/shm/h2c.sock http2 proxy_protocol; # H2C server monitor process and enable PROXY protocol reception + set_real_ip_from unix:; + real_ip_header proxy_protocol; + server_name book.107421.xyz xx.tc.hk.go.107421.xyz; # Change to your own domain name(s) (don't forget to add the certificates to xray config) + + # 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; # Modify to the path of the WEB file stored by yourself (check the permissions) + index index.html index.htm; + } +} \ No newline at end of file diff --git a/v2ray示例/香港节点/分层代理回落.json b/v2ray示例/香港节点/分层代理回落.json deleted file mode 100644 index 5125c4b..0000000 --- a/v2ray示例/香港节点/分层代理回落.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "log": { - "loglevel": "debug" - }, - "inbounds": [ - { - "port": 443, - "protocol": "vless", - "settings": { - "clients": [ - { - "id": "b4bdf874-8c03-5bd8-8fd7-5e409dfd82c0", - "flow": "xtls-rprx-vision" - } - ], - "decryption": "none", - "fallbacks": [ - { - "name": "xx.tc.hk.go.107421.xyz", - "path": "/status", - "dest": 5000, - "xver": 1 - }, - { - "name": "book.107421.xyz", - "dest": 5003, - "xver": 1 - }, - { - "name": "book.107421.xyz", - "alpn": "h2", - "dest": 5004, - "xver": 1 - }, - { - "dest": 5001, - "xver": 1 - }, - { - "alpn": "h2", - "dest": 5002, - "xver": 1 - } - ] - }, - "streamSettings": { - "network": "tcp", - "security": "tls", - "tlsSettings": { - "alpn": ["h2", "http/1.1"], - "certificates": [ - { - "certificateFile": "/root/.acme.sh/book.107421.xyz_ecc/fullchain.cer", - "keyFile": "/root/.acme.sh/book.107421.xyz_ecc/book.107421.xyz.key" - } - ] - } - } - }, - { - "port": 5000, - "listen": "127.0.0.1", - "protocol": "vless", - "settings": { - "clients": [ - { - "id": "481d1403-de9a-5ae1-b921-18c04a4a9da0", - "level": 0, - "email": "dd@qq.com" - } - ], - "decryption": "none" - }, - "streamSettings": { - "network": "ws", - "security": "tls", - "wsSettings": { - "acceptProxyProtocol": true, - "path": "/status" - }, - "tlsSettings": { - "alpn": ["h2", "http/1.1"], - "certificates": [ - { - "certificateFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer", - "keyFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key" - } - ] - } - } - }, - { - "listen": "0.0.0.0", - "port": 29999, - "protocol": "trojan", - "settings": { - "clients": [ - { - "password": "V2ryStr0ngP0ss" - } - ] - }, - "streamSettings": { - "network": "tcp", - "security": "tls", - "tlsSettings": { - "alpn": [ - "h2", - "http/1.1" - ], - "certificates": [ - { - "certificateFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer", - "keyFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key" - } - ] - } - } - } - ], - "outbounds": [ - { - "protocol": "freedom" - } - ] -} \ No newline at end of file diff --git a/v2ray示例/香港节点/香港节点设计.png b/v2ray示例/香港节点/香港节点设计.png new file mode 100644 index 0000000..331d6ec Binary files /dev/null and b/v2ray示例/香港节点/香港节点设计.png differ