A rule based proxy in Go.
You can build from source:
go get -u -v github.com/Dreamacro/clashPre-built binaries are available: release
Requires Go >= 1.10.
Unfortunately, there is no native elegant way to implement golang's daemon.
So we can use third-party daemon tools like pm2, supervisor, and so on.
In the case of pm2, we can start the daemon this way:
pm2 start clashIf you have Docker installed, you can run clash directly using docker-compose.
Configuration file at $HOME/.config/clash/config.ini
Below is a simple demo configuration file:
…No open issues yet, or sync has not completed.