Skip to content

nealfennimore/digital-ocean-wireguard-vpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

sudo add-apt-repository ppa:wireguard/wireguard -y
sudo apt install wireguard -y

Follow the instructions to install doctl and then authenticate.

Ensure an access token is available on the shell as DIGITAL_OCEAN_TOKEN.

Then run the init script.

./init.sh

It should then boot up a droplet and connect to it via wireguard.

About

Wireguard VPN Droplet that destroys itself when not in use

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages