Skip to content

Instantly share code, notes, and snippets.

@xiangsanliu
Last active August 24, 2024 02:11
Show Gist options
  • Save xiangsanliu/c15a72c210ddc2163ab83b9e9ca0dbda to your computer and use it in GitHub Desktop.
Save xiangsanliu/c15a72c210ddc2163ab83b9e9ca0dbda to your computer and use it in GitHub Desktop.
x-ui 解锁 chatgpt 的xray配置模板(搭配warp.sh使用)
{
"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": [
"geosite:netflix",
"geosite:google",
"domain:cloudflare.com",
"domain:openai.com",
"domain:ai.com",
"domain:ip.gs"
]
},
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
@speedforce-lk
Copy link

can you send me the warp.sh file ?

@xiangsanliu
Copy link
Author

@speedforce-lk
Copy link

https://github.com/P3TERX/warp.sh

Thanks , It's Works Well. !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment