mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-12-01 14:18:36 +00:00
Align tun auto-redirect DNS hijack and default marks with sing-tun
This commit is contained in:
@@ -88,9 +88,9 @@ icon: material/new-box
|
||||
"iproute2_table_index": 2022,
|
||||
"iproute2_rule_index": 9000,
|
||||
"auto_redirect": true,
|
||||
"auto_redirect_input_mark": "0x2023",
|
||||
"auto_redirect_output_mark": "0x2024",
|
||||
"auto_redirect_reset_mark": "0x2025",
|
||||
"auto_redirect_input_mark": "0x04000000",
|
||||
"auto_redirect_output_mark": "0x08000000",
|
||||
"auto_redirect_reset_mark": "0x10000000",
|
||||
"auto_redirect_nfqueue": 100,
|
||||
"auto_redirect_iproute2_fallback_rule_index": 32768,
|
||||
"exclude_mptcp": false,
|
||||
@@ -363,7 +363,7 @@ Conflict with `route.default_mark` and `[dialOptions].routing_mark`.
|
||||
|
||||
Connection input mark used by `auto_redirect`.
|
||||
|
||||
`0x2023` is used by default.
|
||||
`0x04000000` is used by default.
|
||||
|
||||
#### auto_redirect_output_mark
|
||||
|
||||
@@ -371,7 +371,7 @@ Connection input mark used by `auto_redirect`.
|
||||
|
||||
Connection output mark used by `auto_redirect`.
|
||||
|
||||
`0x2024` is used by default.
|
||||
`0x08000000` is used by default.
|
||||
|
||||
#### auto_redirect_reset_mark
|
||||
|
||||
@@ -379,7 +379,7 @@ Connection output mark used by `auto_redirect`.
|
||||
|
||||
Connection reset mark used by `auto_redirect` pre-matching.
|
||||
|
||||
`0x2025` is used by default.
|
||||
`0x10000000` is used by default.
|
||||
|
||||
#### auto_redirect_nfqueue
|
||||
|
||||
|
||||
@@ -88,9 +88,9 @@ icon: material/new-box
|
||||
"iproute2_table_index": 2022,
|
||||
"iproute2_rule_index": 9000,
|
||||
"auto_redirect": true,
|
||||
"auto_redirect_input_mark": "0x2023",
|
||||
"auto_redirect_output_mark": "0x2024",
|
||||
"auto_redirect_reset_mark": "0x2025",
|
||||
"auto_redirect_input_mark": "0x04000000",
|
||||
"auto_redirect_output_mark": "0x08000000",
|
||||
"auto_redirect_reset_mark": "0x10000000",
|
||||
"auto_redirect_nfqueue": 100,
|
||||
"auto_redirect_iproute2_fallback_rule_index": 32768,
|
||||
"exclude_mptcp": false,
|
||||
@@ -356,7 +356,7 @@ TUN 接口上 DNS 的处理方式。
|
||||
|
||||
`auto_redirect` 使用的连接输入标记。
|
||||
|
||||
默认使用 `0x2023`。
|
||||
默认使用 `0x04000000`。
|
||||
|
||||
#### auto_redirect_output_mark
|
||||
|
||||
@@ -364,7 +364,7 @@ TUN 接口上 DNS 的处理方式。
|
||||
|
||||
`auto_redirect` 使用的连接输出标记。
|
||||
|
||||
默认使用 `0x2024`。
|
||||
默认使用 `0x08000000`。
|
||||
|
||||
#### auto_redirect_reset_mark
|
||||
|
||||
@@ -372,7 +372,7 @@ TUN 接口上 DNS 的处理方式。
|
||||
|
||||
`auto_redirect` 预匹配使用的连接重置标记。
|
||||
|
||||
默认使用 `0x2025`。
|
||||
默认使用 `0x10000000`。
|
||||
|
||||
#### auto_redirect_nfqueue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user