Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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