|
@@ -2,6 +2,12 @@
|
|
|
icon: material/new-box
|
|
|
---
|
|
|
|
|
|
+!!! quote "sing-box 1.13.0 中的更改"
|
|
|
+
|
|
|
+ :material-plus: [interface_address](#interface_address)
|
|
|
+ :material-plus: [network_interface_address](#network_interface_address)
|
|
|
+ :material-plus: [default_interface_address](#default_interface_address)
|
|
|
+
|
|
|
!!! quote "sing-box 1.11.0 中的更改"
|
|
|
|
|
|
:material-plus: [action](#action)
|
|
@@ -125,6 +131,19 @@ icon: material/new-box
|
|
|
],
|
|
|
"network_is_expensive": false,
|
|
|
"network_is_constrained": false,
|
|
|
+ "interface_address": {
|
|
|
+ "en0": [
|
|
|
+ "2000::/3"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "network_interface_address": {
|
|
|
+ "wifi": [
|
|
|
+ "2000::/3"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "default_interface_address": [
|
|
|
+ "2000::/3"
|
|
|
+ ],
|
|
|
"wifi_ssid": [
|
|
|
"My WIFI"
|
|
|
],
|
|
@@ -337,7 +356,7 @@ icon: material/new-box
|
|
|
|
|
|
匹配网络类型。
|
|
|
|
|
|
-Available values: `wifi`, `cellular`, `ethernet` and `other`.
|
|
|
+可用值: `wifi`, `cellular`, `ethernet` and `other`.
|
|
|
|
|
|
#### network_is_expensive
|
|
|
|
|
@@ -360,6 +379,36 @@ Available values: `wifi`, `cellular`, `ethernet` and `other`.
|
|
|
|
|
|
匹配如果网络在低数据模式下。
|
|
|
|
|
|
+#### interface_address
|
|
|
+
|
|
|
+!!! question "自 sing-box 1.13.0 起"
|
|
|
+
|
|
|
+!!! quote ""
|
|
|
+
|
|
|
+ 仅支持 Linux、Windows 和 macOS.
|
|
|
+
|
|
|
+匹配接口地址。
|
|
|
+
|
|
|
+#### network_interface_address
|
|
|
+
|
|
|
+!!! question "自 sing-box 1.13.0 起"
|
|
|
+
|
|
|
+!!! quote ""
|
|
|
+
|
|
|
+ 仅在 Android 与 Apple 平台图形客户端中支持。
|
|
|
+
|
|
|
+匹配网络接口(可用值同 `network_type`)地址。
|
|
|
+
|
|
|
+#### default_interface_address
|
|
|
+
|
|
|
+!!! question "自 sing-box 1.13.0 起"
|
|
|
+
|
|
|
+!!! quote ""
|
|
|
+
|
|
|
+ 仅支持 Linux、Windows 和 macOS.
|
|
|
+
|
|
|
+匹配默认接口地址。
|
|
|
+
|
|
|
#### wifi_ssid
|
|
|
|
|
|
!!! quote ""
|