-
Notifications
You must be signed in to change notification settings - Fork 11
/
sing-box_config_GRPC.json
124 lines (124 loc) · 2.57 KB
/
sing-box_config_GRPC.json
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
117
118
119
120
121
122
123
124
{
"dns": {
"servers": [
{
"address": "tcp://1.1.1.3",
"detour": "dns"
},
{
"address": "tcp://208.67.222.123",
"detour": "dns"
}
],
"strategy": "ipv4_only"
},
"inbounds": [
{
"type": "vless",
"tag": "vless-in",
"listen": "::",
"listen_port": 443,
"sniff": true,
"sniff_override_destination": true,
"domain_strategy": "ipv4_only",
"users": [
{
"uuid": "u045697a-87b2-48db-94fc-e236529aeb5e",
"flow": ""
}
],
"tls": {
"enabled": true,
"server_name": "www.google.com",
"reality": {
"enabled": true,
"handshake": {
"server": "www.google.com",
"server_port": 443
},
"private_key": "sdDDjbbBlg7_MxGgxlptLshQYprjtOdWfmkdJ_z0o",
"short_id": [
"1439f9c9f67bb14"
]
}
},
"transport": {
"type": "grpc",
"service_name": "iSegaro",
"idle_timeout": "15s",
"ping_timeout": "15s",
"permit_without_stream": false
}
}
],
"outbounds": [
{
"type": "direct"
},
{
"type": "direct",
"tag": "dns"
},
{
"type": "block",
"tag": "block"
}
],
"route": {
"rules": [
{
"geoip": [
"cn",
"ir",
"private"
],
"outbound": "block"
},
{
"geosite": [
"category-porn",
"category-ads-all"
],
"outbound": "block"
},
{
"ip_cidr": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outbound": "block"
},
{
"network": "tcp",
"port": [
25,
587,
465,
2525
],
"outbound": "block"
},
{
"domain": [
"harwebsitikemikhaidblockshe.com",
"harwebsitikemikhaidblockshe.com",
"icecyber.org"
],
"outbound": "block"
}
]
}
}