mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
105 lines
1.8 KiB
JSON
105 lines
1.8 KiB
JSON
![]() |
{
|
||
|
"dns": {
|
||
|
"tag": "dns_out",
|
||
|
"queryStrategy": "UseIP",
|
||
|
"servers": [
|
||
|
{
|
||
|
"address": "8.8.8.8",
|
||
|
"skipFallback": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 10808,
|
||
|
"protocol": "socks",
|
||
|
"settings": {
|
||
|
"auth": "noauth",
|
||
|
"udp": true,
|
||
|
"userLevel": 8
|
||
|
},
|
||
|
"sniffing": {
|
||
|
"destOverride": [
|
||
|
"http",
|
||
|
"tls",
|
||
|
"fakedns"
|
||
|
],
|
||
|
"enabled": true
|
||
|
},
|
||
|
"tag": "socks"
|
||
|
},
|
||
|
{
|
||
|
"port": 10809,
|
||
|
"protocol": "http",
|
||
|
"settings": {
|
||
|
"userLevel": 8
|
||
|
},
|
||
|
"tag": "http"
|
||
|
}
|
||
|
],
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"tag": "direct",
|
||
|
"protocol": "freedom",
|
||
|
"settings": {
|
||
|
"domainStrategy": "UseIP"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"tag": "block",
|
||
|
"protocol": "blackhole",
|
||
|
"settings": {
|
||
|
"response": {
|
||
|
"type": "http"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"policy": {
|
||
|
"levels": {
|
||
|
"8": {
|
||
|
"connIdle": 300,
|
||
|
"downlinkOnly": 1,
|
||
|
"handshake": 4,
|
||
|
"uplinkOnly": 1
|
||
|
}
|
||
|
},
|
||
|
"system": {
|
||
|
"statsOutboundUplink": true,
|
||
|
"statsOutboundDownlink": true
|
||
|
}
|
||
|
},
|
||
|
"routing": {
|
||
|
"domainStrategy": "AsIs",
|
||
|
"rules": [
|
||
|
{
|
||
|
"type": "field",
|
||
|
"network": "tcp,udp",
|
||
|
"balancerTag": "all"
|
||
|
}
|
||
|
],
|
||
|
"balancers": [
|
||
|
{
|
||
|
"tag": "all",
|
||
|
"selector": [
|
||
|
"proxy"
|
||
|
],
|
||
|
"strategy": {
|
||
|
"type": "leastPing"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"observatory": {
|
||
|
"probeInterval": "5m",
|
||
|
"probeURL": "https://api.github.com/_private/browser/stats",
|
||
|
"subjectSelector": [
|
||
|
"proxy"
|
||
|
],
|
||
|
"EnableConcurrency": true
|
||
|
},
|
||
|
"stats": {}
|
||
|
}
|