Passthrough VPN

A Docker container that provides a shared WireGuard or OpenVPN tunnel for other containers lacking native VPN support.

  • Network Services
  • Tools & Utilities
A Docker container that provides a shared WireGuard or OpenVPN tunnel for other containers lacking native VPN support. Route traffic from your non-VPN containers through it to mask their public IP, with an iptables killswitch that prevents IP leakage if the tunnel drops.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

34/100 Low

Maintained
0last commit 1935 days ago
Popular
3136 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
701 GB minimum RAM
Security check
75no serious findings

Availability: platform listings confirmed today, links checked 54 days ago

GitHub stars
36
Open issues
8
Last commit
2021-08-15
License
GPL-3.0
Activity
stale

Checked 7 days ago - source: GitHub (DyonR/docker-passthroughvpn)

Resources & Compatibility

Minimum requirements: 1 GB RAM, 1 CPU core(s), 1.5 GB disk. ARM (e.g. Raspberry Pi) is not supported.

Checked on 29 Sep 2026 - source: Docker Hub image tags and published docs

First-install notes

  • Startup IP Exposure Any container routed through Passthrough VPN briefly exposes its real IP while the container establishes the VPN connection. Once the tunnel is up, traffic is masked. An iptables killswitch prevents further leakage if the tunnel drops later. source
  • First install Runs Debian with WireGuard or OpenVPN plus an iptables killswitch so traffic leaks is blocked if the tunnel drops. Configure your VPN provider credentials/config, then route other containers (e.g. via Docker network with this container as gateway) through it. Ideal for game servers needing port forwarding from your VPN provider, or download clients with no built-in VPN support. source

Fetched 9 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

Will containers routed through PassthroughVPN expose my real IP before the VPN connects?

Yes. Any container routed through it briefly uses your real IP until the PassthroughVPN container establishes a VPN connection, and it will keep doing so if your VPN provider is unreachable.

What happens if the VPN connection drops while using PassthroughVPN?

It uses an iptables killswitch to prevent IP leakage by rebooting the container when the tunnel goes down. If RESTART_CONTAINER is set to yes, it restarts on loss, but routed containers lose connection and need manual restart or the restart-passed-through-containers script.

Can I host a game or web server through PassthroughVPN?

Yes, you can route a game or webserver through it to use your VPN provider's IP. This likely only works if your VPN provider supports port forwarding.

Does PassthroughVPN support both WireGuard and OpenVPN?

Yes, the container supports WireGuard and OpenVPN.

Answers sourced from github.com

Community

Collected 59 days ago - public community threads