Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluecap-se/deploy-vpn
Easy way to quickly deploy a VPN service
https://github.com/bluecap-se/deploy-vpn
ansible digitalocean vpn
Last synced: 4 days ago
JSON representation
Easy way to quickly deploy a VPN service
- Host: GitHub
- URL: https://github.com/bluecap-se/deploy-vpn
- Owner: bluecap-se
- License: mit
- Created: 2020-04-22T08:15:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T04:18:20.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T06:58:53.837Z (7 months ago)
- Topics: ansible, digitalocean, vpn
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy VPN
![Status](https://img.shields.io/badge/status-not%20working-red.svg)
![PyPI - Python Version](https://img.shields.io/badge/python-3.10-blue.svg)
![Platform](https://img.shields.io/badge/platform-win%20%7C%20lin%20%7C%20osx-lightgrey.svg)
![License](https://img.shields.io/badge/license-MIT-blue.svg)Deploys a VPN server on DigitalOcean in less than 2 minutes.
## Usage
### First time
1. Install dependencies with:
```
$ pipenv install && pipenv shell
```2. Generate a new API Token in [DigitalOcean](https://www.digitalocean.com/) and add it to the [vault](https://github.com/bluecap-se/deploy-vpn/blob/master/inventory/production/group_vars/all/secret/do.yml) as seen below and encrypt the vault.
```
---
do_secret_token: XXX
``````
$ ansible-vault encrypt inventory/production/group_vars/secret/do.yml
```### Launch
Create the service with:
```
$ ./up.sh
```Now there should be a file named client.ovpn in the same folder. Add this to your VPN client.
### Remove
Remove the service with:
```
$ ./down.sh
```## License
Published under [MIT License](https://github.com/bluecap-se/deploy-vpn/blob/master/LICENSE).