https://github.com/tuladhar/easy-openvpn
Easy OpenVPN allows you to hassel-free setup an OpenVPN server using Docker with a single command.
https://github.com/tuladhar/easy-openvpn
automation bash devops docker hacktoberfest hacktoberfest-accepted openvpn
Last synced: about 1 year ago
JSON representation
Easy OpenVPN allows you to hassel-free setup an OpenVPN server using Docker with a single command.
- Host: GitHub
- URL: https://github.com/tuladhar/easy-openvpn
- Owner: tuladhar
- License: mit
- Created: 2021-04-13T16:18:42.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-01T06:50:44.000Z (over 4 years ago)
- Last Synced: 2025-02-05T19:38:15.586Z (about 1 year ago)
- Topics: automation, bash, devops, docker, hacktoberfest, hacktoberfest-accepted, openvpn
- Language: Shell
- Homepage:
- Size: 95.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

> Quick and easy way to setup an OpenVPN server using Docker with a single command.
## Installation
```
$ curl -fsSLO https://raw.githubusercontent.com/tuladhar/easy-openvpn/main/easy-openvpn.sh
$ chmod +x easy-openvpn.sh
```
## OpenVPN Easy Installation
**NOTE:**
* `ENDPOINT` can be an IP address or domain name of the openvpn server.
* Allow the UDP port 1194 (openvpn) on the firewall.
```
$ ./easy-openvpn.sh --name example --endpoint ENDPOINT
```
## Generate Client Configuration
```
$ ./easy-openvpn.sh --name example --client client1
$ ./easy-openvpn.sh --name example --client client2
$ ./easy-openvpn.sh --name example --client client3
```
## Powered By
* https://openvpn.net/
* https://www.docker.com/
* https://github.com/kylemanna/docker-openvpn
## Thanks
- [andreipetrescu95](https://github.com/andreipetrescu95)