warp-proxy/README.md

55 lines
918 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# docker-warp-proxy
Docker image to run Cloudflare Warp in proxy mode. Image is rebuilt and updated every day.
## Usage
```
docker run -d -p 40000:40000 --restart unless-stopped seiry/cloudflare-warp-proxy
```
SOCKS5 proxy server will be listening at port 40000.
### docker-compose
```yml
version: "3.0"
services:
cloudflare-warp-proxy:
image: seiry/cloudflare-warp-proxy
network_mode: bridge
ports:
- 40000:40000
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m
```
## test
```bash
curl https://www.cloudflare.com/cdn-cgi/trace/ -x socks5h://127.1:40000 # remote dns mode
# or
curl https://www.cloudflare.com/cdn-cgi/trace/ -x socks5://127.1:40000 # local dns mode
# or
curl https://www.cloudflare.com/cdn-cgi/trace/ -x http://127.1:40000 # http mode
```
```bash
...
sni=plaintext
warp=on
# 👆wrap on
gateway=off
...
```