TunMax
canal
Dockerfile

一个开箱即用的 http / socks5 代理(基于 Cloudflare WARP)/ Setting Up an Out of Box HTTP/SOCKS5 Proxy with Cloudflare WARP in Docker

Last updated Jun 4, 2026
83
Stars
21
Forks
1
Issues
0
Stars/day
Attention Score
57
Language breakdown
Dockerfile 60.2%
Shell 39.8%
Files click to expand
README

canal

一个开箱即用的 http / socks5 代理(基于 Cloudflare WARP)

Setting Up an Out of Box HTTP/SOCKS5 Proxy with Cloudflare WARP in Docker

http 代理模式

部署

docker run -d -p 127.0.0.1:1080:1080 --name canal ghcr.io/tunmax/canal:latest

测试

curl -x http://127.0.0.1:1080 ipinfo.io

socks5 代理模式

部署

docker run -d -p 127.0.0.1:1080:1080/tcp -p 127.0.0.1:1080:1080/udp -e SOCKS5_MODE=true --name canal ghcr.io/tunmax/canal:latest

测试

curl -x socks5://127.0.0.1:1080 ipinfo.io

可选:使用 WARP+

# 配置 LICENSE_KEY 环境变量激活 WARP+
docker run ... -e LICENSE_KEY=xxxxxx ...

License

MIT License

🔗 More in this category

© 2026 GitRepoTrend · TunMax/canal · Updated daily from GitHub