You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Docker base image that routes all outbound traffic through Psiphon via a transparent proxy stack (Redsocks + iptables). Connects to the free Psiphon network — no registration required. Import it into your Dockerfile to run any application behind Psiphon's censorship circumvention network.
Features
Ubuntu 24.04 base
Downloads Psiphon tunnel core binary from official releases
Pre-configured for the free Psiphon network (no API keys needed)
Redsocks for transparent TCP proxying
iptables rules redirect all outbound traffic through Psiphon
Psiphon SOCKS5 exposed on 0.0.0.0:40001 for external hosts
Automatic monitoring and restart on failure (3 consecutive failures)
Readiness indicator: /tmp/redsocks.ready
Files
File
Description
__setup_proxy.sh
Proxy setup and monitoring script (tunnel-core + Redsocks + iptables)
Dockerfile
Ubuntu 24.04-based image
Usage
1. Import into your Dockerfile
FROM ghcr.io/techroy23/docker-psiphon-redsocks:latest
COPY . /app
RUN chmod +x /app/*.sh
ENTRYPOINT ["/app/your_program.sh"]
This project provides a Docker base image that automatically sets up a transparent proxy stack using Psiphon and Redsocks, with iptables redirection. It is designed to be imported into your own Dockerfile, so you can run your application behind a monitored global proxy.