Skip to content
 
 

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --socks5 127.0.0.1:1080 ipinfo.io

使用 WARP+(可选)

# 容器部署后,输入以下命令进入容器
docker exec -it canal bash

# 设置 WARP+ 的 license
warp-cli registration license <license id>

# 退出容器
exit

# 重启容器
docker restart canal

License

MIT License

About

An out-of-box HTTP/SOCKS5 Proxy with Cloudflare WARP in Docker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages