@@ -4,7 +4,9 @@ icon: material/alert-decagram
4
4
5
5
!!! quote "Changes in sing-box 1.11.0"
6
6
7
- :material-delete-alert: [gso](#gso)
7
+ :material-delete-alert: [gso](#gso)
8
+ :material-alert-decagram: [route_address_set](#stack)
9
+ :material-alert-decagram: [route_exclude_address_set](#stack)
8
10
9
11
!!! quote "Changes in sing-box 1.10.0"
10
12
@@ -248,15 +250,15 @@ use [VPNHotspot](https://github.com/Mygod/VPNHotspot).
248
250
249
251
!!! question "Since sing-box 1.10.0"
250
252
251
- Connection input mark used by ` route_address_set ` and ` route_exclude_address_set ` .
253
+ Connection input mark used by ` route[_exclude]_address_set ` with ` auto_redirect ` .
252
254
253
255
` 0x2023 ` is used by default.
254
256
255
257
#### auto_redirect_output_mark
256
258
257
259
!!! question "Since sing-box 1.10.0"
258
260
259
- Connection output mark used by ` route_address_set ` and ` route_exclude_address_set ` .
261
+ Connection input mark used by ` route[_exclude]_address_set ` with ` auto_redirect ` .
260
262
261
263
` 0x2024 ` is used by default.
262
264
@@ -329,29 +331,55 @@ Exclude custom routes when `auto_route` is enabled.
329
331
330
332
#### route_address_set
331
333
332
- !!! question "Since sing-box 1.10.0 "
334
+ === "With ` auto_redirect ` enabled "
333
335
334
- !!! quote " "
336
+ !!! question "Since sing-box 1.10.0 "
335
337
336
- Only supported on Linux with nftables and requires `auto_route` and `auto_redirect` enabled.
338
+ !!! quote ""
339
+
340
+ Only supported on Linux with nftables and requires `auto_route` and `auto_redirect` enabled.
341
+
342
+ Add the destination IP CIDR rules in the specified rule-sets to the firewall.
343
+ Unmatched traffic will bypass the sing-box routes.
344
+
345
+ Conflict with `route.default_mark` and `[dialOptions].routing_mark`.
337
346
338
- Add the destination IP CIDR rules in the specified rule-sets to the firewall.
339
- Unmatched traffic will bypass the sing-box routes.
347
+ === "Without ` auto_redirect ` enabled"
340
348
341
- Conflict with ` route.default_mark ` and ` [dialOptions].routing_mark ` .
349
+ !!! question "Since sing-box 1.11.0"
350
+
351
+ Add the destination IP CIDR rules in the specified rule-sets to routes, equivalent to adding to `route_address`.
352
+ Unmatched traffic will bypass the sing-box routes.
353
+
354
+ Note that it **doesn't work on the Android graphical client** due to
355
+ the Android VpnService not being able to handle a large number of routes (DeadSystemException),
356
+ but otherwise it works fine on all command line clients and Apple platforms.
342
357
343
358
#### route_exclude_address_set
344
359
345
- !!! question "Since sing-box 1.10.0 "
360
+ === "With ` auto_redirect ` enabled "
346
361
347
- !!! quote ""
362
+ !!! question "Since sing-box 1.10.0"
363
+
364
+ !!! quote ""
348
365
349
366
Only supported on Linux with nftables and requires `auto_route` and `auto_redirect` enabled.
350
367
351
- Add the destination IP CIDR rules in the specified rule-sets to the firewall.
352
- Matched traffic will bypass the sing-box routes.
368
+ Add the destination IP CIDR rules in the specified rule-sets to the firewall.
369
+ Matched traffic will bypass the sing-box routes.
370
+
371
+ Conflict with `route.default_mark` and `[dialOptions].routing_mark`.
372
+
373
+ === "Without ` auto_redirect ` enabled"
374
+
375
+ !!! question "Since sing-box 1.11.0"
376
+
377
+ Add the destination IP CIDR rules in the specified rule-sets to routes, equivalent to adding to `route_exclude_address`.
378
+ Matched traffic will bypass the sing-box routes.
353
379
354
- Conflict with ` route.default_mark ` and ` [dialOptions].routing_mark ` .
380
+ Note that it **doesn't work on the Android graphical client** due to
381
+ the Android VpnService not being able to handle a large number of routes (DeadSystemException),
382
+ but otherwise it works fine on all command line clients and Apple platforms.
355
383
356
384
#### endpoint_independent_nat
357
385
0 commit comments