I host my own instance of invidious behind a reverse proxy. It’s awesome. I use Redirector for Firefox so that when I’m on the interwebs, YouTube videos and embeds redirect automagically to my self-hosted invidious instance. I used the setup instructions in the Invidious-Redirector documentation.
Recently, I was on a new website and the embed didn’t redirect. I tried to figure it out, but couldn’t. The best I could do was try changing /embed/* to /oembed/* but that didn’t work.
So I thought I’d ask here: How would you go about setting up a rule or multiple rules to sort this?
Edit to add: If you go to the new website, make sure you either have AI chatbots blocked in uBO or create a rule ||autonomoustechnology.ai^. Otherwise there is an annoying AI chatbot that pops up that you’ll want to block.




Sure. So OpnSense is the real gem here. Or really any solid firewall/edge device CrowdSec is an optional (free) add-on module in OpnSense. It’s immediately operational at a minimal level without any registration. However, if you choose to register within the CrowdSec UI then you can load up more lists and tie it to your instance.
I also load up Hagezi’s Threat Intelligence Blocklists into my OpnSense firewall rules, which get updated (by him) on a rolling 12 hour basis. I also have OpnSense query Github every 12 hours to pull the updates.