ArdxWe / clash

A rule-based tunnel in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


A rule-based tunnel in Go.

Github Actions


  • Local HTTP/HTTPS/SOCKS server with authentication support
  • VMess, Shadowsocks, Trojan, Snell protocol support for remote connections
  • Built-in DNS server that aims to minimize DNS pollution attack impact, supports DoH/DoT upstream and fake IP.
  • Rules based off domains, GEOIP, IPCIDR or Process to forward packets to different nodes
  • Remote groups allow users to implement powerful rules. Supports automatic fallback, load balancing or auto select node based off latency
  • Remote providers, allowing users to get node lists remotely instead of hardcoding in config
  • Netfilter TCP redirecting. Deploy Clash on your Internet gateway with iptables.
  • Comprehensive HTTP RESTful API controller

Premium Features

Getting Started

Documentations are now moved to GitHub Wiki.

Premium Release



If you want to build an application that uses clash as a library, check out the the GitHub Wiki



This software is released under the GPL-3.0 license.

FOSSA Status


A rule-based tunnel in Go.

License:GNU General Public License v3.0


Language:Go 99.2%Language:Makefile 0.7%Language:Dockerfile 0.1%