mirror of
https://github.com/Dichgrem/singbox-example.git
synced 2025-12-16 20:02:00 -05:00
chore:add_json
This commit is contained in:
21
config/client/add_hosts.json
Normal file
21
config/client/add_hosts.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
11
config/client/add_route.json
Normal file
11
config/client/add_route.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"route": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"inbound": "dns-in",
|
||||||
|
"outbound": "dns-out"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default_mark": 7894
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user