Algo VPN GitHub - trailofbits/algo: Set up a personal VPN in the cloud
The pihole team has provided great documentation on using OpenVpn with Pihole setup.
There is a hot new VPN called Algo which uses Wireguard. It's install script provides an option to add adblocking, but it's not pihole. I would like to use pihole instead.
I was able to get it to work using this article as a guide.
https://medium.com/@benfshell/setting-up-your-own-vpn-in-aws-with-doh-using-algo-pi-hole-and-cloudflared-945bc1a639f
However, the issue is in the firewall. The Pihole web UI is available on the public internet and I'm unsure how to fix this using iptables. I would like to ensure a few things.
- That I don't accidently open a resolver on Port 53
- That the Pihole Web UI is only available when connected to the tunnel
So far my attempts have simply broken the DNS.
Hoping someone out there has done this or better yet the pihole team will consider adding documentation for Algo and Pihole similair to OpenVpn
Thank you.