-
Notifications
You must be signed in to change notification settings - Fork 1
/
warp_sb.json
75 lines (75 loc) · 1.32 KB
/
warp_sb.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
{
"log": {
"disabled": false,
"level": "warning",
"timestamp": true
},
"dns": {
"strategy": "prefer_ipv6",
"servers": [{
"tag": "dns-local",
"address": "127.0.0.1",
"detour": "o-direct"
}, {
"tag": "dns-cloudflare",
"address": "1.1.1.1",
"detour": "o-out"
}, {
"tag": "dns-google",
"address": "8.8.8.8",
"detour": "o-out"
}, {
"tag": "dns-fallback",
"address": "8.8.4.4",
"detour": "o-direct"
}]
},
"inbounds": [{
"type": "socks",
"tag": "i-socks",
"listen": "127.0.0.1",
"listen_port": __WG_IN_PORT__,
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "prefer_ipv6"
}],
"outbounds": [{
"type": "wireguard",
"tag": "o-wg",
"server": "__WG_END__",
"server_port": __WG_END_PORT__,
"local_address": [
"__WG_ALLOWED_IPv4__",
"__WG_ALLOWED_IPv6__"
],
"private_key": "__WG_PRI__",
"peer_public_key": "__WG_PUB__",
"mtu": __WG_MTU__,
"domain_strategy": "prefer_ipv6"
}, {
"type": "direct",
"tag": "o-direct",
"domain_strategy": "prefer_ipv6"
}, {
"type": "dns",
"tag": "o-dns"
}, {
"type": "block",
"tag": "o-block"
}],
"route": {
"final": "o-wg",
"rules": [{
"ip_cidr": [
"127.0.0.0/8",
"192.168.0.0/16"
],
"outbound": "o-direct"
}, {
"port": [
53
],
"outbound": "o-dns"
}]
}
}