Clash
Clash is a rule-based tunnel in Go.
Initialization
-
Copy the example environment file:
cp .env.example .env -
Create your Clash configuration file
config.yamlin the same directory. -
Start the service:
docker compose up -d
Services
clash: The Clash service.
Configuration
- Web Dashboard: http://localhost:7880
- SOCKS5 Proxy: localhost:7890
- HTTP Proxy: localhost:7890
| Variable | Description | Default |
|---|---|---|
CLASH_VERSION |
Clash version | 1.18.0 |
Security Notes
- Change default passwords and configurations before production use
- Consider restricting access to the web dashboard
- Review your proxy rules and configurations
License
Please refer to the official Clash project for license information.