Skip to content
/ canal Public

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

License

Notifications You must be signed in to change notification settings

TunMax/canal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

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

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

Topics

Resources

License

Stars

Watchers

Forks

Packages