All Projects → 0xcaff → docker-openvpn-client

0xcaff / docker-openvpn-client

Licence: MIT License
A minimal openvpn client for docker containers.

Projects that are alternatives of or similar to docker-openvpn-client

arch-privoxyvpn
Docker build script for Arch Linux base with Privoxy and OpenVPN
Stars: ✭ 55 (+139.13%)
Mutual labels:  openvpn
desktop-app-ui2
IVPN Desktop app
Stars: ✭ 19 (-17.39%)
Mutual labels:  openvpn
openvpn-portable
🚀 OpenVPN portable for Windows
Stars: ✭ 59 (+156.52%)
Mutual labels:  openvpn
openvpn
Build your own private VPN server. OpenVPN, Scramblesuit and DNS up in less then 5 minutes
Stars: ✭ 78 (+239.13%)
Mutual labels:  openvpn
desktop-app
Official IVPN Desktop app
Stars: ✭ 141 (+513.04%)
Mutual labels:  openvpn
docker-openvpn-client-socks
Expose an OpenVPN tunnel as a SOCKS proxy
Stars: ✭ 89 (+286.96%)
Mutual labels:  openvpn
desktop-app-cli
Official IVPN command-line interface (CLI)
Stars: ✭ 18 (-21.74%)
Mutual labels:  openvpn
chef-openvpn
A multi-configuration OpenVPN server cookbook featuring IPv6 support and easy setup of client files.
Stars: ✭ 23 (+0%)
Mutual labels:  openvpn
Raspberry-Pi-VPN-Gateway
Raspberry Pi VPN gateway installer for Private Internet Access
Stars: ✭ 44 (+91.3%)
Mutual labels:  openvpn
openvpn-unroot
Run OpenVPN without root privileges
Stars: ✭ 27 (+17.39%)
Mutual labels:  openvpn
ConsolePi
Raspberry Pi Based Serial Console Server, with PushBullet Notification of IP changes, Automatic VPN termination, custom menu, Power Outlet Control, and a lot more
Stars: ✭ 109 (+373.91%)
Mutual labels:  openvpn
books-and-articles
Books written from me to my own language
Stars: ✭ 15 (-34.78%)
Mutual labels:  openvpn
netmaker
Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Stars: ✭ 4,147 (+17930.43%)
Mutual labels:  openvpn
iit-kgp-network
Information repository and Solutions on IIT KGP Internet Problems.
Stars: ✭ 28 (+21.74%)
Mutual labels:  openvpn
Gear-VPN
A VPN client for Android based on OpenVPN made with Jetpack Compose.
Stars: ✭ 55 (+139.13%)
Mutual labels:  openvpn
droidovpn
An unofficial VPN Gate client for Android.
Stars: ✭ 65 (+182.61%)
Mutual labels:  openvpn
k8s-ovpn
OpenVPN on a Kubernetes cluster. Roll your own secure VPN cluster!
Stars: ✭ 72 (+213.04%)
Mutual labels:  openvpn
openvpn-status-parser
Parser for openvpn status file
Stars: ✭ 18 (-21.74%)
Mutual labels:  openvpn
vpn-auto-reconnect.sh
A simple bash script for autoreconnect to OpenVPN via NetworkManager command-line (nmcli).
Stars: ✭ 19 (-17.39%)
Mutual labels:  openvpn
killswitch-windows
VPN kill switch for windows.
Stars: ✭ 22 (-4.35%)
Mutual labels:  openvpn

docker-openvpn-client

automated-build-badge

Complexity is the worst enemy of security.

--- Bruce Schneier

A simple docker openvpn client. It opens a VPN connection and routes the traffic of containers through the tunnel.

Usage

First, start the vpn container. Your ovpn file must be available at the /vpn/config/config.ovpn path in the container:

docker run \
  --cap-add NET_ADMIN \
  --device /dev/net/tun \
  --volume /home/me/vpnConfiguration/:/vpn/config \
  --name vpn

Now, use the VPN tunnel by launching a container with the container:<vpn container name>". This replaces the container's network stack with the vpn container's network stack.

docker run \
  --network "container:vpn" \
  -it \
  alpine:3.7

For more advanced use cases, a docker-compose.yml file is recommended. See the examples/ folder to see how to expose a service attached to the VPN container and how to configure a firewall so only outbound traffic to the VPN is allowed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].