diff --git a/config/client/add_hosts.json b/config/client/add_hosts.json new file mode 100644 index 0000000..7a59d0f --- /dev/null +++ b/config/client/add_hosts.json @@ -0,0 +1,21 @@ +{ + "dns": { + "servers": [ + { + "tag": "hosts_local", + "address": "local", + "detour": "DIRECT" + } + ], + "rules": [ + { + "domain": [ + "localhost", + "time.android.com", + "time.facebook.com" + ], + "server": "hosts_local" + } + ] + } +} \ No newline at end of file diff --git a/config/client/add_route.json b/config/client/add_route.json new file mode 100644 index 0000000..7409d69 --- /dev/null +++ b/config/client/add_route.json @@ -0,0 +1,11 @@ +{ + "route": { + "rules": [ + { + "inbound": "dns-in", + "outbound": "dns-out" + } + ], + "default_mark": 7894 + } +} \ No newline at end of file