added Docker

Support OpenVPN Docker
This commit is contained in:
Mehran 2018-11-28 16:15:17 +03:30 committed by GitHub
parent c90989a0e2
commit b41b0648e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,20 @@ Run the script and follow the assistant:
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN.
### Docker Installation
Run the script and follow the assistant:
`docker run -it \
--name openvpn \
--restart always \
--cap-add=NET_ADMIN \
--privileged \
--device=/dev/net/tun \
-p 1194:1194/udp \
mehran/openvpn`
* You can change Port to any.
### I want to run my own VPN but don't have a server for that
You can get a little VPS from just $1/month at [VirMach](https://billing.virmach.com/aff.php?aff=4109&url=billing.virmach.com/cart.php?gid=1).