Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

digitalocean/OpenVPN-Pihole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenVPN + Pihole

NB: This iamge is no longer supported / maintained. It's successor (based on WireGuard) can be built here.

Setup

python3 -m venv venv
venv/bin/pip install -U pip
venv/bin/pip install fabric

Test build

venv/bin/fab testbuild -H [BUILD_DROPLET_IP]

This will install your files and packages and run your scripts but will not perform a cleanup of the build system or power it down. This can be used for testing during development.

Final build

venv/bin/fab build -H [BUILD_DROPLET_IP]

This task will perform all steps (upload files, run scripts, install packages, clean up build system, power off) to prepare your droplet for snapshot.

Development

See the Marketplace Partners guide

Common Issues

Unsupported key file

Error:

paramiko.ssh_exception.SSHException: not a valid RSA private key file

Fix:

puttygen id_rsa -O private-openssh -o new.key

Donations

If you like this tool, consider donating to the authors from which this work is derived:

https://github.com/Nyr/openvpn-install#donations
https://pi-hole.net/donate/