A rule based proxy For Mac base on Clash.
Features
- HTTP/HTTPS and SOCKS protocol
- Surge like configuration
- GeoIP rule support
- Support Vmess/Shadowsocks/Socks5
- Support for Netfilter TCP redirect
Install
You can download from release page
Build
-
Download mmdb from http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz unzip and put it in the "ClashX/Support Files/Country.mmdb".
-
Open the "ClashX/Resources" folder and clone the dashboard project.
git clone -b gh-pages [email protected]:Dreamacro/clash-dashboard.git dashboard
-
Build clash core.
go build -buildmode=c-archive
-
Build and run.
Config
The default configuration directory is $HOME/.config/clash
The default name of the configuration file is config.yml
. You can use your custom config name and switch config in menu "Config" section.
Checking Github for Clash or SS-Rule-Snippet for Clash for more detail.