X-ui 分流 ChatGPT 解锁一系列流媒体

2025-10-28

X -ui 分流 ChatGPT 解锁 一系列 流媒体

前提HK作为最终入口

Loading image...
Please wait a moment
  1  
  2{  
  3"api": {  
  4"services": [  
  5"HandlerService",  
  6"LoggerService",  
  7"StatsService"  
  8],  
  9"tag": "api"  
 10},  
 11"inbounds": [  
 12{  
 13"listen": "127.0.0.1",  
 14"port": 62789,  
 15"protocol": "dokodemo-door",  
 16"settings": {  
 17"address": "127.0.0.1"  
 18},  
 19"tag": "api"  
 20}  
 21],  
 22"outbounds": [  
 23{  
 24"protocol": "vless",  
 25"settings": {  
 26"vnext": [  
 27{  
 28"address": "1.1.1.1",  
 29"port": 55555,  
 30"users": [  
 31{  
 32"id": "xxxxxxxxxxxxxxxxxxx",  
 33"encryption": "none"  
 34}  
 35]  
 36}  
 37]  
 38},  
 39"streamSettings": {  
 40"network": "kcp",  
 41"security": "none",  
 42"kcpSettings": {  
 43"mtu": 1350,  
 44"tti": 50,  
 45"uplinkCapacity": 12,  
 46"downlinkCapacity": 100,  
 47"congestion": false,  
 48"header": {  
 49"type": "srtp"  
 50},  
 51"seed": "asdasd"  
 52}  
 53},  
 54"mux": {  
 55"enabled": false  
 56},  
 57"tag": "chatgpt-outbound"  
 58},  
 59{  
 60"protocol": "freedom",  
 61"settings": {}  
 62},  
 63{  
 64"protocol": "blackhole",  
 65"settings": {},  
 66"tag": "blocked"  
 67}  
 68],  
 69"policy": {  
 70"system": {  
 71"statsInboundDownlink": true,  
 72"statsInboundUplink": true  
 73}  
 74},  
 75"routing": {  
 76"rules": [  
 77{  
 78"type": "field",  
 79"domain": [  
 80"geosite:netflix",  
 81"chatgpt.com",  
 82"openai.com",  
 83"oaistatic.com",  
 84"oaiusercontent.com",  
 85"openai.com.cdn.cloudflare.net",  
 86"openaiapi-site.azureedge.net",  
 87"openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net",  
 88"openaicomproductionae4b.blob.core.windows.net",  
 89"production-openaicom-storage.azureedge.net",  
 90"claude.ai",  
 91"anthropic.com"  
 92],  
 93"outboundTag": "chatgpt-outbound"  
 94},  
 95{  
 96"inboundTag": [  
 97"api"  
 98],  
 99"outboundTag": "api",  
100"type": "field"  
101},  
102{  
103"ip": [  
104"geoip:private"  
105],  
106"outboundTag": "blocked",  
107"type": "field"  
108},  
109{  
110"outboundTag": "blocked",  
111"protocol": [  
112"bittorrent"  
113],  
114"type": "field"  
115}  
116]  
117},  
118"stats": {}  
119}  
120  

在outbounds下面添加以下内容即可

 1{  
 2"protocol": "vless",  
 3"settings": {  
 4"vnext": [  
 5{  
 6"address": "1.1.1.1",  
 7"port": 55555,  
 8"users": [  
 9{  
10"id": "xxxxxxxxxxxxxxxxxxx",  
11"encryption": "none"  
12}  
13]  
14}  
15]  
16},  
17"streamSettings": {  
18"network": "kcp",  
19"security": "none",  
20"kcpSettings": {  
21"mtu": 1350,  
22"tti": 50,  
23"uplinkCapacity": 12,  
24"downlinkCapacity": 100,  
25"congestion": false,  
26"header": {  
27"type": "srtp"  
28},  
29"seed": "asdasd"  
30}  
31},  
32"mux": {  
33"enabled": false  
34},  
35"tag": "chatgpt-outbound"  
36}  

在routing的rules下面添加以下内容即可

 1  
 2{  
 3"type": "field",  
 4"domain": [  
 5"geosite:netflix",  
 6"chatgpt.com",  
 7"openai.com",  
 8"oaistatic.com",  
 9"oaiusercontent.com",  
10"openai.com.cdn.cloudflare.net",  
11"openaiapi-site.azureedge.net",  
12"openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net",  
13"openaicomproductionae4b.blob.core.windows.net",  
14"production-openaicom-storage.azureedge.net",  
15"claude.ai",  
16"anthropic.com"  
17],  
18"outboundTag": "chatgpt-outbound"  
19}