All Projects → dockovpn → Docker Openvpn

dockovpn / Docker Openvpn

Licence: mit
🔐 Out of the box stateless openvpn-server docker image which starts in less than 2 seconds

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Docker Openvpn

k8s-ovpn-chart
[DEPRECATED] Helm chart for a private OpenVPN server
Stars: ✭ 19 (-89.08%)
Mutual labels:  openvpn, vpn, vpn-server
Softethervpn
A Docker Automated Build Repository for SoftEther VPN
Stars: ✭ 297 (+70.69%)
Mutual labels:  vpn, vpn-server, docker-image
terraform-aws-pritunl-vpn-server
Pritunl VPN Server for your public/private like VPC on AWS
Stars: ✭ 40 (-77.01%)
Mutual labels:  openvpn, vpn, vpn-server
Arch Rtorrentvpn
Docker build script for Arch Linux base with ruTorrent, rTorrent, autodl-irssi, Privoxy and OpenVPN
Stars: ✭ 185 (+6.32%)
Mutual labels:  vpn, openvpn, docker-image
Vpngate With Proxy
vpn gate client for linux, be able to connect to open vpn server through proxy
Stars: ✭ 150 (-13.79%)
Mutual labels:  vpn, openvpn, vpn-server
Arch Delugevpn
Docker build script for Arch Linux base with Deluge, Privoxy and OpenVPN
Stars: ✭ 404 (+132.18%)
Mutual labels:  vpn, openvpn, docker-image
Ovpm
OpenVPN Management Server - Effortless and free OpenVPN server administration
Stars: ✭ 256 (+47.13%)
Mutual labels:  vpn, openvpn, vpn-server
Pi Hole Pivpn On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Openvpn Configs
Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.
Stars: ✭ 1,141 (+555.75%)
Mutual labels:  vpn, openvpn, vpn-server
Adblocking Vpn
🔒 Create your own VPN server that blocks malicious domains to enhance your security and privacy
Stars: ✭ 139 (-20.11%)
Mutual labels:  vpn, openvpn, vpn-server
Docker Ipsec Vpn Server
Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 4,356 (+2403.45%)
Mutual labels:  vpn, vpn-server, docker-image
Softethervpn
Cross-platform multi-protocol VPN software. Pull requests are welcome. The stable version is available at https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.
Stars: ✭ 8,531 (+4802.87%)
Mutual labels:  vpn, openvpn, vpn-server
Autovpn
Create On Demand Disposable OpenVPN Endpoints on AWS.
Stars: ✭ 1,959 (+1025.86%)
Mutual labels:  vpn, openvpn, vpn-server
Azclient
Customizable VPN client, meant to be simple and sleek.
Stars: ✭ 106 (-39.08%)
Mutual labels:  vpn, openvpn
Android
VPN.ht Android Application. Based on ics-openvpn.
Stars: ✭ 99 (-43.1%)
Mutual labels:  vpn, openvpn
Tizi
✅ ✅ ✅ 梯子 TOP推荐(持续更新) ✅ ✅ ✅ PC梯子,Windows梯子,电脑梯子,国外好用梯子,推荐翻墙梯子软件,海外加速器梯子,国外vpn,科学上网工具,靠谱iPhone/iPad/安卓/Android/Mac/Linux/PC/路由器都可以用的梯子
Stars: ✭ 168 (-3.45%)
Mutual labels:  vpn, vpn-server
Cake Vpn
Android VPN app based on OpenVPN library.
Stars: ✭ 109 (-37.36%)
Mutual labels:  vpn, openvpn
Wg Install
Wireguard road warrior installer for Ubuntu, Debian, CentOS and Fedora
Stars: ✭ 99 (-43.1%)
Mutual labels:  vpn, vpn-server
Vpn2018
One Click VPN for Android. 一键连接VPN Android 专用.
Stars: ✭ 108 (-37.93%)
Mutual labels:  vpn, openvpn
Mullvadvpn App
The Mullvad VPN client app for desktop and mobile
Stars: ✭ 1,953 (+1022.41%)
Mutual labels:  vpn, openvpn
Vpnfailsafe
IP leak prevention for OpenVPN
Stars: ✭ 130 (-25.29%)
Mutual labels:  vpn, openvpn


[English] [Русский]

Build Status Build Status Build Time Docker Pulls Gitter chat GitHub

🔐Docker-OpenVPN

Out of the box stateless openvpn server docker image which starts in just a few seconds and doesn't require presistent storage. To get it running, just copy & paste the snippet below and follow instructions in your terminal:

docker run --name dockovpn --cap-add=NET_ADMIN \
-p 1194:1194/udp -p 80:8080/tcp \
-e HOST_ADDR=$(curl -s https://api.ipify.org) \
alekslitvinenk/openvpn

To get more detailed information, go to Quick Start tutorial or watch video.

Website

https://dockovpn.io

GitHub Repo:

https://github.com/alekslitvinenk/docker-openvpn

DockerHub Repo:

https://hub.docker.com/r/alekslitvinenk/openvpn

Docker Tags

Tag Description
latest This tag is added to every newly built version be that v#.#.# or v#.#.#-regen-dh
v#.#.# Standard fixed release version, where {1} is major version, {2} - minor and {3} is a patch. For instance, v1.1.0
v#.#.#-regen-dh Release version with newly generated Deffie Hellman security file. In order to keep security high this version is generated every hour. Tag example - v1.1.0-regen-dh
dev Development build which contains the most recent changes from the active development branch (master)

Container commands

After container was run using docker run command, it's possible to execute additional commands using docker exec command. For example, docker exec <container id> ./version.sh. See table below to get the full list of supported commands.

Command Description Parameters Example
./version.sh Outputs full container version, i.e Dockovpn v1.2.0 docker exec dockovpn ./version.sh
./genclient.sh Generates new client configuration z — Optional. Puts newly generated client.ovpn file into client.zip archive.

zp paswd — Optional. Puts newly generated client.ovpn file into client.zip archive with password pswd

o — Optional. Prints cert to the output.

oz — Optional. Prints zipped cert to the output. Use with output redirection.

ozp paswd — Optional. Prints encrypted zipped cert to the output. Use with output redirection.
docker exec dockovpn ./genclient.sh

docker exec dockovpn ./genclient.sh z

docker exec dockovpn ./genclient.sh zp 123

docker exec dockovpn ./genclient.sh o > client.ovpn

docker exec dockovpn ./genclient.sh oz > client.zip

docker exec dockovpn ./genclient.sh ozp paswd > client.zip

📺 Video Guide


🚀 Quick Start

Prerequisites:

  1. Any hardware or vps server running Linux. You should have administrative rights on this machine.
  2. Docker installation on your server.
  3. Public ip address assigned to your server.

1. Run docker-openvpn

Copy & paste the following command to run docker-openvpn:

docker run --cap-add=NET_ADMIN \
-p 1194:1194/udp -p 80:8080/tcp \
-e HOST_ADDR=$(curl -s https://api.ipify.org) \
--name dockovpn alekslitvinenk/openvpn

If everything went well, you should be able to see the following output in your console:

Sun Jun  9 08:56:11 2019 Initialization Sequence Completed
Sun Jun  9 08:56:12 2019 Client.ovpn file has been generated
Sun Jun  9 08:56:12 2019 Config server started, download your client.ovpn config at http://example.com:8080/
Sun Jun  9 08:56:12 2019 NOTE: After you download you client config, http server will be shut down!

2. Get client configuration

Now, when your docker-openvpn is up and running you can go to <your_host_public_ip>:8080 on your device and download ovpn client configuration. As soon as you have your config file downloaded, you will see the following output in the console:

Sun Jun  9 09:01:15 2019 Config http server has been shut down

Import client.ovpn into your favourite openvpn client. In most cases it should be enough to just doubleclick or tap on that file.

3. Connect to your docker-openvpn container

You should be able to see your newly added client configuration in the list of available configurations. Click on it, connection process should initiate and be established withing few seconds.

Congratulations, now you're all set and can safely browse the internet.

Persisting configuration

There's a possibility to persist generated files on in volume storage. Run docker with

-v openvpn_conf:/opt/Dockovpn_data

Alternative way. Run with docker-compose

Sometimes it is more convinient to use docker-compose.

To run docker-openvpn with docker-compose run:

echo HOST_ADDR=$(curl -s https://api.ipify.org) > .env && \
docker-compose up -d && \
docker-compose exec -d dockovpn wget -O /doc/Dockovpn/client.ovpn localhost:8080

After run this command you can find your client.ovpn inside openvpn_conf folder.

Other resources

Contrubition Guidelines
Code Of Conduct
Release Guideline
License Agreement

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