Hi, I was planning on the VPS+Reverse proxy setup instead of port-forwarding from my home address (basically, Wireguard VPN to VPS box which will host a reverse proxy, be hardened and only open necessary ports). I will be hosting Pi-Hole+Unbound at home, and would like to access it from outside. I do not want to share my DNS with anyone else. How would I be able to achieve that with this setup? Do I have to open a port on the VPS for another VPN endpoint (Wireguard), which will basically mean I have to go through two VPN tunnels to get to my DNS? I can’t quite figure it out.
Thanks for your time!
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
You can add the device you want to use PiHole with to your WireGuard VPN and set the DNS property for the Interface.
Then you need to add the PiHole machine to the VPN, if it is not already reachable (or you use your existing machine in the internal networking with masquerade)