This is a joke, I didn’t really lock myself out

  • @[email protected]
    link
    fedilink
    22
    edit-2
    2 days ago

    Since that happens to the best of us, I envision writing a wrapper script around {n,}pfctl that asks for confirmation upon detecting that you’re logged in via ssh through a specific port AND detecting that the new rules would block that port.

    • @[email protected]
      link
      fedilink
      English
      11 day ago

      VMware does this with its virtual networking. If a change takes it offline, it automatically rolls it back. It can be frustrating at times, but mostly its saved my ass.