Pi-hole VPN

An on demand, fully configured, ready to use, secure, private, open source VPN.

What’s inside:

  • Pi-hole: network-wide ad blocking
  • Unbound: validating, recursive, caching DNS resolver
  • WireGuard: fast, modern, secure VPN tunnel

Check out this quick video guide on how to create a Pi-hole VPN Droplet.

Provisioning with $4 Droplets is here! Simply select the $4 option via the web UI during creation. If you’re using the API (see below for an example), use the following slug: s-1vcpu-512mb-10gb.

Software Included

Package Version License
Pi-Hole latest EUPL
Unbound 1.13.1-1 BSD 3-Clause
WireGuard 1.0.20210223-1 GPLv2

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the Pi-hole VPN 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Pi-hole VPN Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "sharklabs-piholevpn"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying Pi-hole VPN

  1. ssh root@your_droplet_public_ipv4
  2. scan the QR code(s) presented from the WireGuard App
  3. Profit

Check out this quick video guide on how to quickly configure your first mobile client.