Adblock and VPN all in one?

2 years ago by damnthefilibuster to c/selfhosted

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!

ptz 9 points 2 years ago

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.

path: 0 10704550, hotness: undefined, score: 9, children: 1
damnthefilibuster 1 point 2 years 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.

path: 0 10704550 10704863, hotness: undefined, score: 1, children: 0
michel 6 points 2 years ago path: 0 10706505, hotness: undefined, score: 6, children: 1
damnthefilibuster 1 point 2 years ago

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

path: 0 10706505 10713611, hotness: undefined, score: 1, children: 0
Decronym 4 points 2 years ago

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]

path: 0 10706602, hotness: undefined, score: 4, children: 1
LodeMike 3 points 2 years ago

Good bot

path: 0 10706602 10708369, hotness: undefined, score: 3, children: 0
undefined 4 points 2 years 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.

path: 0 10710895, hotness: undefined, score: 4, children: 0
ErwinLottemann 3 points 2 years ago

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

path: 0 10730813, hotness: undefined, score: 3, children: 0
aordogvan 3 points 2 years ago

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

path: 0 10711004, hotness: undefined, score: 3, children: 1
jjlinux 1 point 2 years ago

This is gold. Thank you.

path: 0 10711004 10719437, hotness: undefined, score: 1, children: 0
Cyber 2 points 2 years ago

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

path: 0 10725605, hotness: undefined, score: 2, children: 0
dogsnest 2 points 2 years ago

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.

path: 0 10704695, hotness: undefined, score: 2, children: 7
theorangeninja 6 points 2 years ago path: 0 10704695 10706016, hotness: undefined, score: 6, children: 1
dogsnest 3 points 2 years ago

Appreciate this.

path: 0 10704695 10706016 10707210, hotness: undefined, score: 3, children: 0
damnthefilibuster 3 points 2 years ago

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?

path: 0 10704695 10704843, hotness: undefined, score: 3, children: 4
dogsnest 3 points 2 years ago

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

path: 0 10704695 10704843 10705508, hotness: undefined, score: 3, children: 3
damnthefilibuster 3 points 2 years ago

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

path: 0 10704695 10704843 10705508 10713626, hotness: undefined, score: 3, children: 2
dogsnest 1 point 2 years ago

Exit node is a VPS (Racknerd)

eta: it's quite the deal tbh

path: 0 10704695 10704843 10705508 10713626 10714280, hotness: undefined, score: 1, children: 1
Andromxda 2 points 2 years ago path: 0 10768796, hotness: undefined, score: 2, children: 1
damnthefilibuster 2 points 2 years ago

Thanks!

path: 0 10768796 10773558, hotness: undefined, score: 2, children: 0
ShellMonkey 2 points 2 years 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.

path: 0 10704750, hotness: undefined, score: 2, children: 0
pyrosis 2 points 2 years 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.

path: 0 10715360, hotness: undefined, score: 2, children: 0
chili1553 2 points 2 years 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

path: 0 10724939, hotness: undefined, score: 2, children: 0
jjlinux 1 point 2 years 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.

path: 0 10719490, hotness: undefined, score: 1, children: 0
EmperorHenry -1 points 2 years ago
path: 0 10714401, hotness: undefined, score: -1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
62967
6795
5683

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

go to feed...