OpenVPN-Client

OpenVPN Client is a Docker container that establishes an OpenVPN connection and routes other containers' traffic through the VPN tunnel, giving every…

  • Network Services
  • Tools & Utilities
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
  • 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.

22/100 Low

Maintained
0last commit 754 days ago
Popular
187 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
701 GB minimum RAM

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

GitHub stars
7
Open issues
0
Last commit
2024-10-28
License
AGPL-3.0
Activity
stale

Checked 10 days ago - source: GitHub (ich777/docker-openvpn-client)

Resources & Compatibility

Minimum requirements: 1 GB RAM. ARM (e.g. Raspberry Pi) is not supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Use your VPN config and key file Save the .ovpn/config file (the settings file) and the key file it points to (the password-like file OpenVPN needs), then back them up; without both, the app has no server address or key to make the tunnel. source
  • Use double backslashes in Windows paths When a path in the config points to a file on Windows, use double backslashes like c:\\OpenVPN\\secret.key or use forward slashes; otherwise Windows may misread the path and OpenVPN can't find the key file. source
  • Add the server fingerprint if you get one If your VPN provider gives a verify-hash value (a server certificate fingerprint), add it to the config; this lets OpenVPN double-check it's the right server instead of silently connecting to a fake or wrong one. source
  • Username and Password Authentication Create a file named 'vpn.auth' in the container's config directory with your username on line 1 and password on line 2, then restart the container and check the logs to confirm the VPN connection was established. source

Fetched 45 days ago - each note links to its source

Alternatives (12)

  • 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 ("SoftEther" means "Software Ethernet") 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…

Checked 40 days ago - source: AlternativeTo

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.

Answers sourced from github.com

Community

Collected 53 days ago - public community threads