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

创建于:2025-10-23 修改于:2025-10-23

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

前提HK作为最终入口

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

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

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

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

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