76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "info"
|
|
},
|
|
"routing": {
|
|
"domainStrategy": "IPIfNonMatch",
|
|
"rules": []
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 1080,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 10801,
|
|
"protocol": "http",
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "{{.Domain}}",
|
|
"port": 1443,
|
|
"users": [
|
|
{
|
|
"id": "{{ UUID }}",
|
|
"encryption": "none",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"serverName": "{{.Domain}}",
|
|
"allowInsecure": false,
|
|
"fingerprint": "chrome"
|
|
}
|
|
},
|
|
"tag": "proxy"
|
|
},
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"protocol": "blackhole",
|
|
"tag": "block"
|
|
}
|
|
]
|
|
} |