this post was submitted on 18 Jun 2024
41 points (100.0% liked)

Selfhosted

45971 readers
1108 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

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

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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!

all 25 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 10 months ago* (last edited 10 months ago) (1 children)

If you don't get any other answers:

I run OpenWRT on my router (x86 hardware), and have Adguard Home and Wireguard installed on it.

AdGuard has its own webUI, and Wireguard peers can be managed through LuCI in OpenWRT. It also supports OpenVPN as well as other VPN types.

So you could run a VM with OpenWRT and get all that.

[–] [email protected] 1 points 10 months ago

Ah, I'm not going there yet. OpenWRT is an eventual goal. But right now I'm stuck with devices that do not support it. I'm ok with alternate solutions.

[–] [email protected] 6 points 10 months ago (1 children)

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

[–] [email protected] 1 points 10 months ago

Nice app! I do have an android device sitting around doing nothing. Will use this app if I ever get into it!

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago) (1 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
IP Internet Protocol
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

4 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

[Thread #816 for this sub, first seen 18th Jun 2024, 20:45] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 3 points 10 months ago
[–] [email protected] 4 points 10 months ago

I run a VPS with its own DNS resolver (to load blocklists), then it tunnels the traffic down a multi-hop VPN and it’s pretty excellent.

[–] [email protected] 4 points 10 months ago

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

[–] [email protected] 3 points 10 months ago (1 children)

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

[–] [email protected] 1 points 10 months ago

This is gold. Thank you.

[–] [email protected] 2 points 10 months ago (2 children)

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.

[–] [email protected] 6 points 10 months ago (1 children)

There's also Netbird as an open source alternative to Tailscale. @[email protected]

[–] [email protected] 3 points 10 months ago

Appreciate this.

[–] [email protected] 3 points 10 months ago (1 children)

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?

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

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

[–] [email protected] 3 points 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

Exit node is a VPS (Racknerd)

eta: it's quite the deal tbh

[–] [email protected] 1 points 1 month ago

$28 a year???? Woah.

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 2 points 10 months ago

I know some VPN providers have their own DNS service that you can use similar to other filtered public DNS. If you mean an in house DNS/VPN gateway then what you want is probably best served by something like a firewall distro (opnsense/pfsense) to handle both of them.

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 2 points 10 months ago
[–] [email protected] 2 points 10 months ago

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.

[–] [email protected] 1 points 10 months ago

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.