Skip to content

Clash Field

Proxy node, with content as an array. Obtained from configuration file.

Clash Meta Docs

Composed of multiple proxy nodes. Obtained from configuration file.

Clash Meta Docs

Proxy providers, capable of merging multiple configuration files.

Clash Meta Docs

Proxy rules, where rules are matched in the order from top to bottom, with rules at the top of the list having higher priority than those below them.

Clash Meta Docs

Proxy rule providers, capable of managing rules and updating them individually.

Clash Meta Docs

Operation Mode.

  • rule Rule-based matching
  • global Global proxy (requires selecting proxy/strategy in GLOBAL proxy group)
  • direct Global direct connection

Clash Meta Docs

HTTP(S) proxy port.

Clash Meta Docs

SOCKS4/4a/5 proxy port.

Clash Meta Docs

Mixed port is a special port that supports both HTTP(S) and SOCKS5 protocols simultaneously. You can use any program that supports HTTP or SOCKS proxies to connect to this port.

Clash Meta Docs

Allows other devices to access the internet through Clash proxy port.

Clash Meta Docs

Controls the logging level of Clash core, only output to console and control page.

  • silent Silent, no output.
  • error Outputs logs of errors and unusable logs.
  • warning Outputs logs of errors that do not affect operations, and logs of error level.
  • info Outputs general operational logs, as well as logs of error and warning levels.
  • debug Outputs as much information as possible during runtime.

Clash Meta Docs

Whether to allow the kernel to accept IPv6 traffic.

Clash Meta Docs

Access key for the External Control API.

Clash Meta Docs

External controller, allows controlling your Clash kernel using RESTful API.

API listening address, you can change 127.0.0.1 to 0.0.0.0 to listen on all IPs.

Clash Meta Docs

Enable DNS configuration field.

Clash Meta Docs

Enable TUN configuration field.

Clash Meta Docs

eBPF redirection to TUN is a feature that intercepts all network traffic on a specific network interface and redirects it to the TUN interface. This feature requires kernel support.

Supported kernel: Mihomo Clash Premium

Clash Docs

Enable hosts configuration field.

Clash Meta Docs

Clash Premium has implemented a script feature based on Python3, allowing users to dynamically and flexibly select policies for data packets.

Clash Docs

In the official Clash documentation, ‘profile’ should serve as an extended configuration, but in Clash.meta, it’s only used as a cache item.

Clash Meta Docs

Payload serves as the content for rule-providers.

Clash Meta Docs

Flow forwarding tunnel, capable of forwarding TCP/UDP traffic, and can also be forwarded through a proxy.

Clash Meta Docs

Clash Docs

Experimental configuration

Clash Meta Docs

Specify the outbound interface for the proxy-groups.

Clash Meta Docs

Attach a routing markwhen the proxy-groups goes outbound.

Clash Meta Docs

The redirect port is only applicable to Linux (Android) and macOS. Can only proxy TCP traffic.

Clash Meta Docs

The tproxy port is only applicable to Linux (Android). Capable of proxying both TCP and UDP traffic.

Clash Meta Docs

Clash Meta Docs

Allows running static webpage resources (such as Clash-dashboard) on Clash API, path is API address/ui.

Clash Meta Docs

Binding address, only allows other devices to access through this address.

Clash Meta Docs

User authentication for http(s), socks, and mixed proxies.

Clash Meta Docs

Proxie field.

Clash Meta Docs

Clash uses a Mapping mechanism to address the issue of being unable to pass domain names through the Redir port in transparent proxy scenarios. However, this mechanism can lead to inaccuracies in domain name restoration and domain-based routing if Clash’s built-in DNS resolution service is not used.

Meta incorporates a Sniffer domain name sniffer, which reads the domain name field in handshake packets to restore IPs to domain names, effectively addressing the shortcomings of the Mapping mechanism.

Clash Meta Docs

Custom GEO Download Address

Clash Meta Docs

Clash Meta Docs

Clash Meta Docs

Change the geoip usage file, mmdb or dat,true is dat, with a default value of false.

Clash Meta Docs

Change delay calculation method, remove additional delays such as handshakes.

Clash Meta Docs

Clash Meta Docs

Meta rename find-process-mode.

Controls whether Clash matches processes.

  • always Enables, forces matching of all processes.
  • strict Default, Clash determines whether to enable.
  • off Does not match processes, recommended for use on routers.

Clash Meta Docs

Set the IP ranges allowed to skip authentication.

Clash Meta Docs

HTTPS-API listening address, requires configuring the tls section for certificate and private key configuration, external-controller must also be filled in.

Clash Meta Docs

Global TLS fingerprint, lower priority than client-fingerprint inside proxy.

Currently supports TCP/grpc/WS/HTTP transport with TLS, supported protocols are VLESS, Vmess, and trojan.

Clash Meta Docs