Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.56 KB

File metadata and controls

41 lines (28 loc) · 1.56 KB

openvpn-docker-scripts

Scripts for creating your own OpenVPN server with Docker and optional openvpn monitor, based on this article, this repository and this repository for openvpn monitor.

Steps

Install OpenVPN and dependencies

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/reisbel/openvpn-docker-scripts/master/install_openvpn.sh)"

Install OpenVPN and Monitor

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/reisbel/openvpn-docker-scripts/master/install_openvpn.sh) --monitor-enable true"

Create user

sudo bash  -c "$(wget -qO- https://raw.githubusercontent.com/reisbel/openvpn-docker-scripts/master/create_user.sh)" --dump-strings user1

Delete user

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/dainer88/openvpn-docker-scripts/master/delete_user.sh)" user1

References

Outline install script https://github.com/Jigsaw-Code/outline-server/blob/master/src/server_manager/install_scripts/install_server.sh

Set Up a VPN Server With Docker In 5 Minutes https://medium.com/@gurayy/set-up-a-vpn-server-with-docker-in-5-minutes-a66184882c45

Script to delete user https://aurlen.net/w/es/script-para-eliminar-un-usuario-openvpn/

License

Apache License - See LICENSE for more information.