diff --git a/config/sing.json b/config/sing.json index e5faae1..f292801 100644 --- a/config/sing.json +++ b/config/sing.json @@ -9,9 +9,10 @@ "tag": "tun-in", "domain_strategy": "prefer_ipv4", "interface_name": "sing-tun", - "address": ["172.19.0.1\/30"], + "address": [ + "172.19.0.1/30" + ], "mtu": 1400, - "gso": true, "auto_route": true, "strict_route": true, "sniff": true, @@ -48,7 +49,7 @@ }, { "tag": "dns-remote", - "address": "tcp:\/\/8.8.8.8", + "address": "tcp://8.8.8.8", "address_strategy": "prefer_ipv4", "strategy": "prefer_ipv4", "detour": "direct" @@ -92,28 +93,23 @@ { "type": "direct", "tag": "direct" - }, - { - "type": "block", - "tag": "block" - }, - { - "type": "dns", - "tag": "dns-out" } ], "route": { "auto_detect_interface": true, "override_android_vpn": true, "rules": [ - { - "protocol": "dns", - "outbound": "dns-out" - }, { "addruleset": true, "outbound": "direct" }, + { + "action": "sniff" + }, + { + "protocol": "dns", + "action": "hijack-dns" + }, { "addruleset": true, "createruleset": [ @@ -187,7 +183,7 @@ ] } ], - "outbound": "block" + "action": "reject" }, { "addruleset": true, @@ -207,4 +203,4 @@ ], "final": "direct" } -} +} \ No newline at end of file