Adblock and VPN all in one?

I love PiHole. I've used it in the past and it was powerful! I also use an OpenVPN/Wireguard based VPN.

So is there a service that combines the two features? Lets me import adblock lists and also VPN configurations?

Preferably something that runs in a docker container that I can throw upon portainer and running within minutes!

Thanks!

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

Check out WireHole or openvpn-pihole

damnthefilibuster OP ,

Thanks!

ErwinLottemann ,

you can just set your pihole as the dns server for all your wireguard clients i guess

Cyber ,

Maybe not a docker solution, but you could throw pfSense into a VM and do all that from there

I use it (as it's intended) as my firewall, but I used to use these as general purpose network security VMs in the past (just because I know the product well)

So for you: no firewall rules, just setup DNS with pfBlocker (for the advert blocking) and setup the VPN as required...

Just an idea...

chili1553 ,

Not self hosted, but I've been using tailscale with nextdns and it has been very reliable. I got tired of worrying about availability of hosting my own

jjlinux ,

In this same subject, is there a way to set up pihole as DoT or at least DoH? Full disclosure, I have not done any research on this. The thought just came up while reading this thread.

pyrosis ,
@pyrosis@lemmy.world avatar

You might look at gluetun. It lets you configure various VPN services from a docker container. The interesting part is that you can point other docker containers to utilize gluetun for networking. Essentially piping them through the configured VPN.

EmperorHenry ,
@EmperorHenry@discuss.tchncs.de avatar

Adguard? Although I don't know if they have a firewall based Killswitch so it might be vulnerable to tunnel vision if it's not being used in a VPN router

You might need to replace your pi-hole with adguard home to make it work

aordogvan ,

This runs a combination of both. Been using this for years and works like magic

jjlinux ,

This is gold. Thank you.

michel ,
@michel@friend.ketterle.ch avatar

@damnthefilibuster
For Android I recommend Rethink
It has Wireguard, DNS and Firewall (per app and per IP/Domain)

dogsnest ,
@dogsnest@lemmy.world avatar

There are "public" pihole servers: use their dns, or the many other ad-blocking servers out there as the dns for your VPN.

Tbh, I've stopped the selfhosted vpn route and use tailscale (which can be selfhosted/has a docker image). It doesn't get simpler.

damnthefilibuster OP ,

huh. Never thought about public pihole servers. So nice of those folks running them.

I don't understand how you're saying you've stopped self-hosting VPN and are still using tailscale. Are you using their SaaS service? Does that allow you to set your own DNS? Do they have speed limits? Are they zero-logs?

dogsnest ,
@dogsnest@lemmy.world avatar

Tailscale uses wireshark, which is peer-to-peer. Their "free" plan allows you to set up a network using their "coordination" server, which simplifies administration of your tailnet.

You control dns, exit nodes, etc, so tailscale isn't involved with the vpn itself, hence no speed limits.

You ultimately determine what tailscale collects as far as client logging.

If you block client logging, Tailscale may not be able to provide technical support.

I imagine the docker image serves to eliminate tailscale from the equation.

ETA: there are quite a few ad-blocking dns servers.

I currently use nextdns.io

damnthefilibuster OP ,

So do you run a tailscale exit node on one of the public clouds or a VPS provider like DigitalOcean?

dogsnest , (edited )
@dogsnest@lemmy.world avatar

Exit node is a VPS (Racknerd)

eta: it's quite the deal tbh

https://lemmy.world/pictrs/image/ed60ddf9-7397-4009-b129-61c97bda3a73.png

theorangeninja ,

There's also Netbird as an open source alternative to Tailscale. @damnthefilibuster

dogsnest ,
@dogsnest@lemmy.world avatar

Appreciate this.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • kbinchat
  • All magazines