Sign inSign up

tazihad/cloudflare-warp

By tazihad

•Updated 26 days ago

Cloudflare WARP container providing local SOCKS5 & HTTP. Supports WARP+.

Image
Networking
0

927

tazihad/cloudflare-warp repository overview

GitHub stars GitHub license GitHub build Status Docker Stars Docker Pulls Docker Image Version

⁠Cloudflare WARP Container

A lightweight containerized setup for running Cloudflare WARP using Podman. This allows you to route traffic through Cloudflare's WARP service via local SOCKS5 and HTTP proxies.

This source is hosted on GitHub: tazihad/cloudflare-warp-docker⁠


⁠Deployment Guide

Choose one of the deployment methods below depending on whether you have a premium license key or are using the free tier.

⁠Option 1: Standard Run (Free Tier)

Use this command to run the container using the standard, free Cloudflare WARP tier:

podman run -d \
  --name cloudflare-warp \
  -p 127.0.0.1:50000:1080 \
  -p 127.0.0.1:51000:8080 \
  --restart unless-stopped \
  docker.io/tazihad/cloudflare-warp:latest
⁠Option 2: Run with WARP+ License Key

If you have a WARP+ or Cloudflare for Teams license key, pass it using the -e LICENSE_KEY environment variable:

podman run -d \
  --name cloudflare-warp \
  -p 127.0.0.1:50000:1080 \
  -p 127.0.0.1:51000:8080 \
  -e LICENSE_KEY="your_actual_license_key_here" \
  --restart unless-stopped \
  docker.io/tazihad/cloudflare-warp:latest

Connect with proxy:

http: 127.0.0.1:50000
socks5: 127.0.0.1:51000
⁠Docker Compose Configuration
services:
  warp:
    image: tazihad/cloudflare-warp:latest # Or ghcr.io/tazihad/cloudflare-warp:latest
    container_name: cloudflare-warp
    restart: unless-stopped
    ports:
      - "1080:1080" # SOCKS5 Proxy Port
    environment:
      - WARP_SLEEP=2 # Optional: wait time before connection
    cap_add:
      - NET_ADMIN # Required for WARP networking
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=0
      - net.ipv4.conf.all.src_valid_mark=1

verify

curl -x socks5h://localhost:1080 https://www.cloudflare.com/cdn-cgi/trace

Tag summary

Content type

Image

Digest

sha256:73f2aa70d…

Size

521.2 MB

Last updated

26 days ago

docker pull tazihad/cloudflare-warp