• @TechieDamien@lemmy.ml
    link
    fedilink
    73 years ago

    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.

    • @arun@lemmy.ml
      link
      fedilink
      23 years ago

      +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.

      • @pinknoise@lemmy.ml
        link
        fedilink
        13 years ago

        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.

  • @AgreeableLandscape@lemmy.ml
    link
    fedilink
    4
    edit-2
    3 years ago

    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, kind of like PiHole but provided by the VPN.

  • [deleted]
    link
    fedilink
    33 years ago

    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).

  • mekhos
    link
    fedilink
    33 years ago

    Mullvad has it too, plus a great Android and Linux apps that are regularly updated.

  • @Baku@lemmy.ml
    link
    fedilink
    23 years ago

    Best way to block ads is through DNS, I use ahadns. No need for an app, it’s just proper network settings.

    • RandoomOP
      link
      fedilink
      1
      edit-2
      3 years ago

      ok.

      No mobile clients are available rn :( Will try in on my pc.