Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/massmux/openvpn
Ultrasimple VPN openvpn server
https://github.com/massmux/openvpn
docker openvpn simple vpn
Last synced: about 2 months ago
JSON representation
Ultrasimple VPN openvpn server
- Host: GitHub
- URL: https://github.com/massmux/openvpn
- Owner: massmux
- Created: 2021-05-10T14:29:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T17:29:25.000Z (over 3 years ago)
- Last Synced: 2024-11-09T10:12:45.326Z (3 months ago)
- Topics: docker, openvpn, simple, vpn
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Openvpn
this project is simply a setup for dockerized openvpn from kylemanna. The aim is to best simplify running the vpn even without any skills. This install needs docker to be present on the server. Therefore as prerequisite you need docker already running before starting with details in this page. In order to install on a Ubuntu 20.04, please refer to [these instructions](docker-readme.md)
## Server setup
The setup is very simple:
Be very sure that your fully qualified hostname is setup. Something like vpn.yourdomain.com . It is important, otherwise install will fail. The run the following command
```
./init
```then follow procedure and answer questions. You will be asked to set a passphrase. This procedure will initialize server and run it. There will be no need of redoing it again if correctly completed
## Client setup
The script will ask you for the passphrase for server cert, and you will be also required to setup a passphrase for the client. This is mandatory. The script will create a .ovpn file that can be used across your client for connecting to the vpn server.
```
./client
```You shall run this script anytime you have a new client to add to this vpn.
## Running the server
From the folder. If you run the init script, there is no need to manually run the server itself. The init script will do all necessary.
```
docker-compose up -d
```