Has anyone tried to use unbound (or even a hosts file) to redirect requests to youtube to an invidious instance? It seems pretty trivial in my head but I cannot find any reference to it online

I use a self hosted SearXNG instance and have that rewrite YouTube, Reddit, and Twitter links. You probably could hack Unbound to rewrite domains as well but you could run into some issues.

There’s not really an elegant way to do this because of HTTPS.

You can use a browser extension like Privacy Redirect to do this though (and/or set up SearXNG to do it however this will only redirect you from search results of Youtube.com on that SearXNG instance).

Ah that makes sense, I hadn’t considered that https would mess this up. I actually already use libredirect on Firefox on my desktop, I was just hoping to set up a network wide redirect. Thanks for the help!

Max-P
link
fedilink
31Y

You can always load up your own custom CA and generate certs on the fly but it gets really complicated compared to even rolling out a custom browser addon to do the same much more easily and reliably.

Create a post

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 57 users / day
  • 383 users / week
  • 1.5K users / month
  • 5.7K users / 6 months
  • 1 subscriber
  • 2.97K Posts
  • 74.6K Comments
  • Modlog