1
0

Docs(rules): fix IPSET example (#2756)

This commit is contained in:
Birkhoff Lee 2023-05-20 22:52:31 +08:00 committed by GitHub
parent cbcbd0e085
commit 6b17fd2595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ IPSET rules are used to match against an IP set and route packets based on the r
This feature only works on Linux and requires `ipset` to be installed. This feature only works on Linux and requires `ipset` to be installed.
::: :::
`PROCESS-PATH,/bin/sh,DIRECT` routes all packets from the process `/bin/sh` to the `DIRECT` outbound. `IPSET,chinaip,DIRECT` routes all packets with destination IPs matching the `chinaip` IPSET to DIRECT outbound.
### RULE-SET ### RULE-SET
@ -150,4 +150,4 @@ When encountering this rule, Clash will resolve the domain name to an IP address
### MATCH ### MATCH
`MATCH,policy` routes the rest of the packets to `policy`. This rule is **required**. `MATCH,policy` routes the rest of the packets to `policy`. This rule is **required** and is usually used as the last rule.