# Passthrough VPN

Passthrough VPN is a self-hosted network services app. A Docker container that provides a shared WireGuard or OpenVPN tunnel for other containers lacking native VPN support. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1435/passthrough-vpn

## Description

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 9 platforms: Unraid.

## Health score

14/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 1885 days ago)
- Popular: 31 (36 GitHub stars)
- Easy to install: 20 (1 install platform, Docker image)

## Links

- GitHub: https://github.com/DyonR/docker-passthroughvpn
- Docker Hub: https://hub.docker.com/r/dyonr/passthroughvpn
- Unraid: https://ca.unraid.net/apps/passthroughvpn-0j47zyv1yrx3t7?q=passthroughvpn

## 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.

---
Source: Our Local Host (https://ourlocalhost.com/app/1435/passthrough-vpn), the self-hosted and open-source app directory.
