I wasn’t able to finish setting up Pi-hole with VPN capability. My ISP is blocking ports and port forwarding techniques doesn’t help. When you think about, tampering with your own router settings and opening things for the public is not the best idea, so I had to think about other ways of building Pi-hole setup instead.
I found a very detailed guide on GitHub made by Rajan Patel. The author explains how to run Pi-hole server with VPN capability on Google Cloud. What’s good about this setup, is that having Pi-hole instance there doesn’t cost you money (Google covers you with $300 credit for a year) and protects you on all of your devices.
The guide itself is very self-explanatory so I will not waste your time, but I just want to mention a few things about my setup. I chose the Split Tunnel VPN method because it doesn’t consume a lot of server resources. Data usage is low and the server CPU load is very low.
I use the Split Tunnel VPN on my desktop and phone. Split Tunnel VPN allows me to interact with other devices on my local network, so there is no hassle. For example, running a Visual Studio project and using a VPN at the same time.
And what’s the incentive to use Pi-hole when you can have an ad block on a browser? Well, the biggest win for me is an ability to control and shape my internet traffic. I can block Google or Facebook tracking, I can block other pages and top of it, I get nice and detailed statistics.
Worth to try!