|
|
@@ -6,7 +6,8 @@ icon: material/new-box
|
|
|
|
|
|
:material-plus: [interface_address](#interface_address)
|
|
|
:material-plus: [network_interface_address](#network_interface_address)
|
|
|
- :material-plus: [default_interface_address](#default_interface_address)
|
|
|
+ :material-plus: [default_interface_address](#default_interface_address)
|
|
|
+ :material-plus: [preferred_by](#preferred_by)
|
|
|
|
|
|
!!! quote "Changes in sing-box 1.11.0"
|
|
|
|
|
|
@@ -153,6 +154,10 @@ icon: material/new-box
|
|
|
"wifi_bssid": [
|
|
|
"00:00:00:00:00:00"
|
|
|
],
|
|
|
+ "preferred_by": [
|
|
|
+ "tailscale",
|
|
|
+ "wireguard"
|
|
|
+ ],
|
|
|
"rule_set": [
|
|
|
"geoip-cn",
|
|
|
"geosite-cn"
|
|
|
@@ -428,6 +433,17 @@ Match WiFi SSID.
|
|
|
|
|
|
Match WiFi BSSID.
|
|
|
|
|
|
+#### preferred_by
|
|
|
+
|
|
|
+!!! question "Since sing-box 1.13.0"
|
|
|
+
|
|
|
+Match specified outbounds' preferred routes.
|
|
|
+
|
|
|
+| Type | Match |
|
|
|
+|-------------|-----------------------------------------------|
|
|
|
+| `tailscale` | Match MagicDNS domains and peers' allowed IPs |
|
|
|
+| `wireguard` | Match peers's allowed IPs |
|
|
|
+
|
|
|
#### rule_set
|
|
|
|
|
|
!!! question "Since sing-box 1.8.0"
|