- ๐ Flexible traffic routing rules based off source/destination IP/Domain/GeoIP etc.
- ๐ฆ Local anti spoofing DNS with support of UDP/TCP/DoH/DoT remote.
- ๐ก Run as a HTTP/Socks5 proxy, or utun device as a home network gateway.
- โ๏ธ Shadowsocks/Trojan/Vmess outbound support with different underlying trasports.
- ๐ Dynamic remote rule/proxy loader.
- ๐ต Tracing with Jaeger
- Linux
- macOS
Can be found at https://github.com/Watfaq/clash-rs/releases
$ bazel build //clash
sample.yaml:
port: 7890
-> % ./target/debug/clash -c sample.yaml
-> % ./target/debug/clash -h
Usage: clash [OPTIONS]
Options:
-d, --directory <DIRECTORY>
-c, --config <FILE> [default: config.yaml]
-t, --test
-h, --help Print help
-V, --version Print version
We use bazel as our build system, however cargo is also supported.