EC2 with pi-hole

add ondrej PPA

sudo add-apt-repository ppa:ondrej/nginx-mainline
sudo add-apt-repository ppa:ondrej/php

https://docs.pi-hole.net/guides/vpn/overview/

after ./openvpn-install.sh 

user public ip or hostname : vpn.example.com
protocol UDP : 1
DNS : anything you want I chose google


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

You must check network interface to tun0
network subnet is 10.8.0.1/24 gateway is 10.8.0.1

https://docs.pi-hole.net/guides/nginx-configuration/

sudo apt-get -y install nginx php7.3-fpm php7.3-zip  

https://docs.pi-hole.net/guides/dns-over-https/

I don’t use cloudflared, I will use google DoH

go install in ubuntu

https://github.com/golang/go/wiki/Ubuntu

I use Ubuntu 18.04 LTS

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get install golang-go

https://github.com/m13253/dns-over-https

compile and install

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다