Web Designing Company Singapore, Web Hosting Company, Custom Software Applications, eCommerce websites

Web Designing Company Singapore, Web Hosting Company, Custom Software Applications, eCommerce websites

Openvpn with PiHole

This guide followed from : https://docs.pi-hole.net/guides/vpn/openvpn/installation/

This script will install openVPN with PiHole with all required iptables rules enabled. This script can install with Digitalocean Anchor IP too (10.15.xx.xx). So you could access the PiHole interface via your desired hostname.

1. we do initial linux upgrade & update

2. Get OpenVPN installation from original source

3.Make it executable script

4. Finally, install PiHole on it

sudo -- sh -c 'apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y'

wget https://git.io/vpn -O openvpn-install.sh

chmod 755 openvpn-install.sh

./openvpn-install.sh


curl -sSL https://install.pi-hole.net | bash