this post was submitted on 05 Jul 2023
52 points (98.1% liked)

Selfhosted

39893 readers
469 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 1 year ago
MODERATORS
 

Hey guys, I recently bought an orange pi zero 2 and, as the title suggests, I want to put an ad blocker on it. Those are the options. I also will put openvpn for external connection to my network. Does anyone have experience with them? What would you suggest?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (2 children)

Heey iam using pihole for a few years now i realy like that it works good with no problems so far. Even have unbound pared wirh it and for tunneling home i use wireguard never tried adguard or blocky

[–] [email protected] 3 points 1 year ago (2 children)

I've read about unbound but not knowledgeable enough to understand what it does. Could you king of eli5 it to me? Also, is wireguard better than openvpn?

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

AFAIK, instead of forwarding your DNS requests to an upstream DNS provider (eg. 1.1.1.1), it resolves the domain step by step. First, it asks the root nameserver “where's org.?”, the returned server is asked “where's example.org.?”, the returned server is asked “where's www.example.org.?” and so on until you get your target IP.

See also https://en.wikipedia.org/wiki/Domain_Name_System#Address_resolution_mechanism

Edit: there is also a good explaination on https://docs.pi-hole.net/guides/dns/unbound/#what-does-this-guide-provide

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

Wireguard is very lightweight and it just works. No overly complex setup, tools, matching protocols, algorithms, versions, etc. It just works and it's simple UDP traffic. It's the first self hosted VPN that I actually love and that works on all my machines, mobiles, VMs with just a config file to fine tune what should go over the line.

[–] [email protected] 2 points 1 year ago

This is the reason indeed its lightweight and installation and connecting other clients was easy with the qr code

[–] [email protected] 3 points 1 year ago (2 children)

Another vote for PiHole.

Also, thanks for turning me on to Unbound. Which Pi are you running those services on and how’s the performance?

[–] [email protected] 2 points 1 year ago

Iam running it a raspberry 3b its doing fine we are with 3 ppl in house so there are not that many request

[–] [email protected] 1 points 1 year ago (1 children)

No the one you asked, but I'm running pihole on a lenovo M93 (fedora server) with 8Gb of ram. No kill like overkill, I guess.

The only time any of the cpu cores pops above 1% is when I'm updating the config, and at the moment it is hovering at 293 MB of RAM used according to the free command.

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

Ha — no kill like overkill. Indeed! Thanks for sharing!

I’m currently running pihole on a Pi 3B. It’s been solid for about a year on that hardware.

I’m going to do a little digging on the compute needed per WireGuard connection. Cheers!