improve sing-box ipv6 config

This commit is contained in:
2024-05-12 06:53:48 +08:00
parent a24aec9914
commit 5de976f4b3
12 changed files with 181 additions and 27 deletions

View File

@@ -9,14 +9,14 @@
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "dns_resolver",
"strategy": "ipv4_only",
"strategy": "prefer_ipv6",
"detour": "proxy"
},
{
"tag": "dns_direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns_resolver",
"strategy": "ipv4_only",
"strategy": "prefer_ipv6",
"detour": "direct"
},
{
@@ -126,14 +126,14 @@
{
"type": "tun",
"tag": "tun-in",
"inet4_address": "172.16.0.1/30",
"inet6_address": "fd00::1/126",
"mtu": 1400,
"interface_name": "tun0",
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "mixed",
"sniff": true,
"sniff_override_destination": false
"sniff": true
}
],
"outbounds": [
@@ -157,6 +157,18 @@
"short_id": "7fcff4362963e98e"
}
},
"multiplex": {
"enabled": false,
"protocol": "h2mux",
"max_streams": 32,
"padding": true,
"brutal": {
"enabled": false,
"up_mbps": 1000,
"down_mbps": 100
}
},
"packet_encoding": "xudp"
},
{