tl;dr what are all the ways I can block a website on linux? Debian if it’s relevant.

I want to stop myself using certain sites. Since I’m reasonably techy and can work round all blocks I’ve come up with, I’ve found an effective approach is to apply as many hurdles as possible, so that visiting the website takes effort.

So far I’ve added the site to ublock’s block list, and redirected sites via /etc/hosts. What other options are there?

While I have admin access to the router, I’m not allowed to block sites there.

  • anamethatisnt@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    ·
    5 hours ago

    Only thing I can think of is to remove your default account from the sudoers file and have an account with a frustratingly long password written on physical paper hold the keys to the kingdom. That will make a whole lot of other things a hurdle too though.

    • Peffse@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      5 hours ago

      Yeah, whatever roadblocks are set up can easily be dismantled using the same privs.

      Only way to achieve this goal is to either hand the keys to someone else or to lock yourself out.