No description
Find a file
2024-03-09 17:43:06 +08:00
.gitattributes first commit 2023-05-02 02:41:34 +08:00
Dockerfile feat: migrate to wgcf + wireproxy 2024-02-13 19:14:39 +08:00
entrypoint.sh feat: migrate to wgcf + wireproxy 2024-02-13 19:14:39 +08:00
README.md docs: add note on proxy type 2024-03-09 17:43:06 +08:00
warp-health-check.sh feat: migrate to wgcf + wireproxy 2024-02-13 19:14:39 +08:00

docker-warp-socks5

Docker Pulls

docker run -d -p 40000:40000 qiqiworld/warp-socks5

Note

This image exposes just a SOCKS5 proxy, not a mixed proxy server.

You CANNOT use this server as a HTTP/HTTPS proxy.

Usage

Python

First, install the requests library.

pip install requests[socks]

Then, you can access the proxy server with the following code.

import requests
proxies = {
    'http': 'socks5://127.0.0.1:40000/',
    'https': 'socks5://127.0.0.1:40000/',
}
response = requests.get('https://www.cloudflare.com/cdn-cgi/trace', proxies=proxies)
print(response.text)