Last active
August 24, 2024 02:11
-
-
Save xiangsanliu/c15a72c210ddc2163ab83b9e9ca0dbda to your computer and use it in GitHub Desktop.
x-ui 解锁 chatgpt 的xray配置模板(搭配warp.sh使用)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": {} | |
} |
Thanks , It's Works Well. !!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you send me the warp.sh file ?