{
"log": { "level": "trace", "timestamp": true },
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "singbox-tun",
"address": ["172.19.0.1/30"],
"auto_route": true,
"strict_route": true,
"route_address": ["0.0.0.0/1", "128.0.0.0/1"],
"route_exclude_address": ["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16"]
}
],
"outbounds": [
{ "type": "direct", "tag": "direct" },
{ "type": "block", "tag": "block" }
],
"route": {
"auto_detect_interface": false,
"default_interface": "Wi-Fi",
"final": "direct",
"rules": [
{ "inbound": ["tun-in"], "outbound": "direct" }
]
}
}