【科学上网】nekobox简易分流配置

  1. 1. 通用
  2. 2. DNS设置
  3. 3. 简易路由

通用

  • 流量探测:探测结果用于路由判断
  • 域名策略:prefer_ipv4
  • 服务器地址策略:prefer_ipv4

DNS设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"servers": [
{
"tag": "114dns",
"address": "114.114.114.114",
"address_strategy": "prefer_ipv4",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "google",
"address": "https://8.8.8.8/dns-query",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "block",
"address": "rcode://success"
}
],
"rules": [
{
"geosite": [
"cn",
"steam@cn",
"115"
],
"domain_suffix": [
".cn",
"biliimg.com",
"keylol.com",
"indienova.com",
"ghxi.com",
"lovestu.com",
"123pan.com",
"cjjd18.com",
"cjjd15.com"
],
"server": "114dns",
"disable_cache": false
},
{
"geosite": [
"category-ads-all"
],
"server": "block",
"disable_cache": true
}
],
"final": "google",
"strategy": "",
"disable_cache": false,
"disable_expire": false
}

简易路由

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"rules": [
{
"domain_keyword": [
"adobe"
],
"domain_suffix": [
"adobe.io",
"adobe.com"
],
"geosite": [
"adobe-activation",
"sogou",
"category-ads-all",
"qihoo360"
],
"inbound": [
"mixed-in"
],
"invert": false,
"outbound": "block"
},
{
"domain_suffix": [
"b23.tv",
".cn",
"masuit.org",
"wmpvp.com",
"ggmedia.tv",
"cm.steampowered.com",
"steamserver.net",
"ghxi.com",
"lovestu.com",
"423down.com",
"123pan.com",
"cjjd18.com",
"cjjd15.com",
"keylol.com",
"biliimg.com",
"rtxapp.com",
"tencentcloudapi.com"
],
"geosite": [
"epicgames",
"hcaptcha",
"115",
"category-games@cn",
"category-game-accelerator-cn",
"category-network-security-cn",
"microsoft@cn",
"apple@cn",
"douyu",
"huya",
"bilibili"
],
"inbound": [
"mixed-in"
],
"invert": false,
"outbound": "bypass"
},
{
"domain_suffix": [
"hostbuf.com",
"firefox.com",
"mozilla.org",
"dogfight360.com"
],
"geoip": [
"jp",
"telegram",
"netflix",
"twitter",
"google"
],
"geosite": [
"bytedance@!cn",
"google@cn",
"anthropic",
"category-porn",
"github",
"twitter",
"twitch",
"netflix",
"youtube",
"google",
"microsoft",
"telegram",
"openai",
"spotify",
"geolocation-!cn"
],
"inbound": [
"mixed-in"
],
"invert": false,
"outbound": "proxy"
},
{
"geoip": [
"cn",
"private"
],
"geosite": [
"bytedance",
"cn",
"private"
],
"inbound": [
"mixed-in"
],
"invert": false,
"outbound": "direct"
}
]
}