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.
+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.
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 ❤️
deleted by creator
Mullvad has it too, plus a great Android and Linux apps that are regularly updated.
Best bet I guess is lokinet
ok.
No mobile clients are available rn :( Will try in on my pc.