mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-11 16:58:22 +03:00
Routing: remove misleading IP catch-all example
This commit is contained in:
@@ -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\]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user