Skip to content

ComputeHole/setup.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup.sh

only tested on Ubuntu 19.04 but should theoretically work on any Ubuntu system

how to use

wget https://raw.githubusercontent.com/ComputeHole/setup.sh/master/setup.sh
chmod +x setup.sh
sudo ./setup.sh

what this does

setup.sh will install and configure Pi-hole, unbound, and pivpn on your Ubuntu machine (real metal or VM).

the original idea was to assist myself (and others) with setting up Pi-hole and pivpn on Google Compute Engine but it should also work for running this setup in other places.

configuration details

  • Pi-hole will use unbound on 127.0.0.1#5353 && ::1#5353

  • openVPN will be configured as a split tunnel (only DNS traffic) on Pu.bl.ic.ip:8080 with subnet 10.80.80.x

  • openVPN will be configured as a full tunnel on Pu.bl.ic.ip:443 with subnet 10.4.43.x

About

setup.sh will install and configure Pi-hole, unbound, and pivpn.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages