You can do this with wireguard and pihole listening on the wg interface. On your clients, you can specify your server as your DNS server.
Privacy
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
+1 to this. Tailscale makes it incredibly easy to create that mesh VPN. Get your pihole listening on the Tailscale network and that takes care of the ad-blocking part. About changing the IP address though, that's a different topic. Will need to have a commercial VPN configured on that server and use that as an exit node.
Thank you. I'll try this.
If you get a vps you might not be able to get the wireguard kernel module running. In that case you can use wireguard-go.
I mean, a VPN's most basic job is to hide your IP address, some do it better than others in practice though.
Many commercial VPNs do also have an ad blocking system by connecting to their DNS server which just sinkholes known ad and tracking domains, essentially it's PiHole but provided by the VPN.
Yes 😑 The question was weird.
Understood.
Protonvpn already does that I believe
Yup. Has done so for a while now.
I don't have a proton account. Thinking of creating one now.
cool
I just did this! I have a VPS, and I used wg-easy with Adguard DNS on by default (clients can change this if they choose, just have to change the DNS setting).
will try it.
Mullvad has it too, plus a great Android and Linux apps that are regularly updated.
Best way to block ads is through DNS, I use ahadns. No need for an app, it's just proper network settings.
Thank you for your input ❤️