mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-14 12:29:13 +00:00

* Revert "Temporary addition to support proper use of sing-box v1.12"
This reverts commit 508eb24fc3
.
* Migrating to singbox 1.11 support
* Removes unnecessary sniffer
* Migrating to singbox 1.12 support
* Adds Google cn dns rules
* Improves geoip rule handling in singbox
* add anytls support
* Simplifies local DNS address handling
* Enables dhcp interface configuration
* Fetches DNS strategy for domain resolution
* support Wireguard endpoint
Refactors Singbox config classes for dial fields
* Utils.GetFreePort() default port to be zero
* Adds Sing-box legacy DNS config support
* Adds IPv4 preference to DNS configurations
对应原dns.servers[].strategy = prefer_ipv4
* Refactors DNS address parsing
* Fixes config generation
* fix singbox endpoints proxy chain not work
* Fixes wrong field
* Removes direct clash_mode domain strategy
* Improves DNS address parsing in Singbox
DNS type, host, port, and path
* Adds properties to Rule4Sbox class
* Removes Wireguard listen port
* Support sing-box hosts
* Adds tag resolver supports
* Adds sing-box DomainStrategy support
* Deletes Duplicate Rules
* Adds anytls reality support
* Fixes
* Updates sing-box documentation link
* Updates translations
34 lines
553 B
Text
34 lines
553 B
Text
{
|
|
"servers": [
|
|
{
|
|
"tag": "remote",
|
|
"type": "tcp",
|
|
"server": "8.8.8.8",
|
|
"detour": "proxy"
|
|
},
|
|
{
|
|
"tag": "local",
|
|
"type": "udp",
|
|
"server": "223.5.5.5"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"domain_suffix": [
|
|
"googleapis.cn",
|
|
"gstatic.com"
|
|
],
|
|
"server": "remote",
|
|
"strategy": "prefer_ipv4"
|
|
},
|
|
{
|
|
"rule_set": [
|
|
"geosite-cn"
|
|
],
|
|
"server": "local",
|
|
"strategy": "prefer_ipv4"
|
|
}
|
|
],
|
|
"final": "remote",
|
|
"strategy": "prefer_ipv4"
|
|
}
|