A rule-based tunnel in Go.
Go to file
Dreamacro 8c7c8f4374 Chore: update dependencies 2022-07-07 22:15:50 +08:00
.github Chore: add more github action cache 2022-04-14 23:37:41 +08:00
adapter Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
common Chore: adjust Relay copy memory alloc logic 2022-06-11 20:38:16 +08:00
component Chore: cleanup bind mark code 2022-06-30 17:27:57 +08:00
config Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
constant Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
context Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
dns Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Chore: add redir-host deprecated warnning 2022-06-14 11:26:04 +08:00
listener Fix: try to unmap lAddr on tproxy udp listener 2022-06-29 23:36:45 +08:00
log Fix: make log api unblocked 2022-04-26 22:36:10 +08:00
rule Fix: process rule type (#2206) 2022-07-06 13:44:04 +08:00
test Chore: update dependencies 2022-06-19 13:01:43 +08:00
transport Fix: missing import 2022-06-12 21:22:02 +08:00
tunnel Fix: fakeip udp should not replace with another ip 2022-07-05 21:09:29 +08:00
.gitignore Chore: contexify ProxyAdapter ListenPacket 2021-10-15 21:44:53 +08:00
.golangci.yaml Migration: go 1.18 2022-03-16 12:10:13 +08:00
Dockerfile Feature: add tzdata to Dockerfile (#2027) 2022-03-15 11:30:52 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
Makefile Fix: make golangci lint support multi GOOS 2022-04-13 17:51:21 +08:00
README.md Chore: update README.md 2021-09-20 17:22:40 +08:00
go.mod Chore: update dependencies 2022-07-07 22:15:50 +08:00
go.sum Chore: update dependencies 2022-07-07 22:15:50 +08:00
main.go Migration: go 1.18 2022-03-16 12:10:13 +08:00

README.md

Clash
Clash

A rule-based tunnel in Go.

Github Actions

Features

  • 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

Release

Development

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

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status