2021-06-19 20:38:29 +00:00
|
|
|
|
# docker-warp-proxy
|
2021-06-19 21:52:08 +00:00
|
|
|
|
|
2021-06-21 14:48:30 +00:00
|
|
|
|
Docker image to run Cloudflare Warp in proxy mode. Image is rebuilt and updated every day.
|
2021-06-19 21:52:08 +00:00
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```
|
2023-04-10 14:41:31 +00:00
|
|
|
|
docker run -d -p 40000:40000 --restart unless-stopped seiry/cloudflare-warp-proxy
|
2021-06-19 21:52:08 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
SOCKS5 proxy server will be listening at port 40000.
|
2023-04-10 14:58:18 +00:00
|
|
|
|
|
2023-04-10 15:21:54 +00:00
|
|
|
|
### docker-compose
|
2023-04-10 14:58:18 +00:00
|
|
|
|
|
|
|
|
|
```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
|
|
|
|
|
|
|
|
|
|
```
|
2023-04-10 15:21:54 +00:00
|
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
...
|
|
|
|
|
```
|