Routing: remove misleading IP catch-all example

This commit is contained in:
Meow
2026-06-03 06:33:26 +08:00
parent b2265afa71
commit 3d64d6dc7c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ Optional values are "tcp", "udp", or "tcp,udp". The rule takes effect when the c
Since the core obviously only supports TCP and UDP layer 4 protocols, a routing rule containing only `"network": "tcp,udp"` can be used as a "catch-all" to match any traffic. An example usage is placing it at the very end of all routing rules to specify the default outbound when no other rules match (otherwise the core defaults to the first outbound).
Of course, other ways that obviously match any traffic, such as specifying ports 1-65535 or IPs 0.0.0.0/0 + ::/0, have a similar effect.
Of course, other ways that obviously match any traffic, such as specifying ports 1-65535, have a similar effect.
> `sourceIP`: \[string\]