Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nealfennimore/digital-ocean-wireguard-vpn
Wireguard VPN Droplet that destroys itself when not in use
https://github.com/nealfennimore/digital-ocean-wireguard-vpn
digitalocean wireguard wireguard-server wireguard-vpn-setup
Last synced: about 1 month ago
JSON representation
Wireguard VPN Droplet that destroys itself when not in use
- Host: GitHub
- URL: https://github.com/nealfennimore/digital-ocean-wireguard-vpn
- Owner: nealfennimore
- Created: 2020-07-26T15:43:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-26T19:36:33.000Z (over 4 years ago)
- Last Synced: 2024-04-14T06:20:10.738Z (8 months ago)
- Topics: digitalocean, wireguard, wireguard-server, wireguard-vpn-setup
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WireGuard Digital Ocean VPN
## What it does
This script automatically creates an Wireguard VPN droplet and then connects to it. If there's no connection through Wireguard for 15 minutes, it then automatically destroys the droplet.## Installation
Install wireguard on your machine:
```sh
sudo add-apt-repository ppa:wireguard/wireguard -y
sudo apt install wireguard -y
```Follow the instructions to install [doctl](https://github.com/digitalocean/doctl#installing-doctl) and then [authenticate](https://github.com/digitalocean/doctl#authenticating-with-digitalocean).
Ensure an [access token](https://cloud.digitalocean.com/account/api/tokens) is available on the shell as `DIGITAL_OCEAN_TOKEN`.
Then run the init script.
```sh
./init.sh
```It should then boot up a droplet and connect to it via wireguard.