Skip to content

Instantly share code, notes, and snippets.

@speedforce-lk
Forked from xiangsanliu/xray.json
Last active June 11, 2023 13:03
Show Gist options
  • Select an option

  • Save speedforce-lk/8b0bf77c9f09feff6bd87b6cf4886d5a to your computer and use it in GitHub Desktop.

Select an option

Save speedforce-lk/8b0bf77c9f09feff6bd87b6cf4886d5a to your computer and use it in GitHub Desktop.
x-ui unlocks the xray configuration template of chatgpt (used with "P3TERX/warp.sh") [✅AMD] [❌ARM] for arm use WARP with WG6 (all traffic will route to warp)
{
"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": "freedom",
"settings": {}
},
{
"tag": "warp",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 40000
}
]
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "warp",
"domain": [
"openai.com",
"ai.com",
"ip.gs",
"chat.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"
]
},
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment