Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TunMax/canal
一个开箱即用的 http / socks5 代理(基于 Cloudflare WARP)/ Setting Up an Out of Box HTTP/SOCKS5 Proxy with Cloudflare WARP in Docker
https://github.com/TunMax/canal
cloudflare-warp docker http-proxy proxy warp
Last synced: 3 months ago
JSON representation
一个开箱即用的 http / socks5 代理(基于 Cloudflare WARP)/ Setting Up an Out of Box HTTP/SOCKS5 Proxy with Cloudflare WARP in Docker
- Host: GitHub
- URL: https://github.com/TunMax/canal
- Owner: TunMax
- License: mit
- Created: 2024-04-06T10:44:22.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-04-07T00:32:05.000Z (8 months ago)
- Last Synced: 2024-04-07T11:37:07.996Z (8 months ago)
- Topics: cloudflare-warp, docker, http-proxy, proxy, warp
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - TunMax/canal - 一个开箱即用的 http / socks5 代理(基于 Cloudflare WARP)/ Setting Up an Out of Box HTTP/SOCKS5 Proxy with Cloudflare WARP in Docker (Dockerfile)
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 --socks5 127.0.0.1:1080 ipinfo.io
```## 使用 WARP+(可选)
```
# 容器部署后,输入以下命令进入容器
docker exec -it canal bash# 设置 WARP+ 的 license
warp-cli registration license# 退出容器
exit# 重启容器
docker restart canal
```## License
MIT License