共计 1223 个字符,预计需要花费 4 分钟才能阅读完成。
用的 3x-ui,x-ui 应该也可以,高级配置直接粘贴改下 IP 就能用
{
"log": {
"access": "none",
"dnsLog": false,
"error": "","loglevel":"warning","maskAddress":""
},
"api": {
"tag": "api",
"services": [
"HandlerService",
"LoggerService",
"StatsService"
]
},
"inbounds": [
{
"tag": "api",
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {"address": "127.0.0.1"}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP",
"redirect": "","noises": []
}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}}
],
"policy": {
"levels": {
"0": {
"statsUserDownlink": true,
"statsUserUplink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true,
"statsOutboundDownlink": true,
"statsOutboundUplink": true
}
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"outboundTag": "blocked",
"ip": [
"geoip:private"
]
},
{
"type": "field",
"outboundTag": "blocked",
"protocol": [
"bittorrent"
]
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"geoip:cn"
]
},
{
"type": "field",
"outboundTag": "direct",
"domain": [
"geosite:cn",
"regexp:.*\\.cn$"
]
}
]
},
"dns": {
"servers": [
"1.1.1.1",
"8.8.8.8",
{
"address": "这里更换为你 DNS 解锁的 IP",
"port": 53,
"domains": [
"geosite:netflix",
"geosite:disney",
"geosite:openai"
]
}
]
},
"stats": {}}
正文完
发表至: 科学·上网
2024-12-29