Skip to content

threatpatrols/docker-cfwarp-socat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-socat in Cloudflare WARP on Docker

Creates multiple socat pipes based on env-var names that start with 'CLOUDFLAREWARP_SOCAT' within a Cloudflare WARP connected session.

Usage

Better docs someday...

Env-vars with prefix CLOUDFLAREWARP_SOCAT are sorted and used as socat command line inputs.

services:
  my-cfwarp-socat:
    image: "threatpatrols/cfwarp-socat"
    environment:
      CLOUDFLAREWARP_SOCAT_02: "TCP4-LISTEN:2222,reuseaddr,fork TCP4:127.0.0.1:22"
      CLOUDFLAREWARP_SOCAT_01: "UNIX-LISTEN:/run/docker.sock,reuseaddr,fork TCP4:127.0.0.1:80"

Source / Repo