# OpenVPN-Client

OpenVPN-Client is a Docker container that establishes an OpenVPN connection and routes other containers' traffic through the VPN tunnel, giving every container on your host a shared VPN exit. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1617/openvpn-client

## Description

OpenVPN Client is a Docker container that establishes an OpenVPN connection and routes other containers' traffic through the VPN tunnel, giving every container on your host a shared VPN exit.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

22/100 (Low), based on 4 of 4 factors.
- Maintained: 0 (last commit 754 days ago)
- Popular: 18 (7 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 70 (1 GB minimum RAM)

## Links

- Docker Hub: https://hub.docker.com/r/ich777/openvpn-client/
- Unraid: https://ca.unraid.net/apps/openvpn-client-1ag3il90up418x?q=OpenVPN-Client

## Common questions

### How do I supply username and password authentication to the OpenVPN-Client container?

Rename your .ovpn file to vpn.ovpn and put it in the container's vpn directory. Create a vpn.auth file in the same directory with the username on the first line and the password on the second line, then restart the container and check the logs.

### How do I make another container use the VPN connection from this container?

Start the OpenVPN-Client container first. Then start the other container using --net=container:OpenVPN-Client, replacing OpenVPN-Client with the name you gave the VPN container.

### Does this container need to run in privileged mode?

Docker 1.2 or newer can use --cap-add=NET_ADMIN and --device /dev/net/tun. Earlier Docker versions or fig may require privileged mode.

### Why is IPv6 unavailable on unRAID with this container?

unRAID disables IPv6 by default. Add --sysctl net.ipv6.conf.all.disable_ipv6=0 to the docker run command if you need IPv6.

### Can the container ping an IP and notify connected containers?

Set CONNECTED_CONTAINERS, PING_IP, and PING_INTERVAL on the OpenVPN client container. Connected containers can set CONNECTED_CONTAINERS to the OpenVPN container's IP to receive notification.

## Alternatives

- Amnezia VPN: Enables classic, free, and self-hosted VPN modes, works under high censorship, uses a WireGuard-based protocol for better blocking resistan…
- Fossorial Pangolin: Open-source identity-based remote access platform using WireGuard, offering unified management, tunneled connections, granular access contr…
- Geph: Geph is a tool that helps you bypass internet blocks and censorship.
- NetBird: NetBird is an open-source Zero Trust networking platform that makes it easy for engineers to create fast, secure, and private networks with…
- OpenVPN Connect: OpenVPN Connect provides flexible VPN solutions to secure your data communications, whether it's for Internet privacy, remote access for em…
- Outline VPN: Journalists need safe access to information to research issues, communicate with sources, and report the news.
- Rayfish: A peer-to-peer mesh VPN with zero infrastructure.
- Shadowsocks: Shadowsocks is a self-hosted SOCKS5 proxy that uses the open-source Shadowsocks encryption protocol.
- SoftEther VPN: SoftEther VPN (&quot;SoftEther&quot; means &quot;Software Ethernet&quot;) is one of the world's most powerful and easy-to-use multi-protoco…
- Tailscale: Private networks made easy.
- WireGuard: WireGuard is a fast, lightweight virtual private network (VPN) server that creates encrypted point-to-point tunnels for secure remote acces…
- ZeroTier: ZeroTier is an open-source, cross-platform virtual LAN/VPN service that connects your devices and servers into one private network, so you…

---
Source: Our Local Host (https://ourlocalhost.com/app/1617/openvpn-client), the self-hosted and open-source app directory.
