• Illegalmexicant@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    16 days ago

    Every time I remote into a new switch and setup vlans. “Hey can you hook the serial cable back up or power cycle it and I won’t be a dummy this time”

  • Agent641@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    16 days ago

    I might be locked out, but if I have physical access to any of the infra, I can always knock the building down.

    • BobSentMe@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      ·
      16 days ago

      Need a windows desktop like prompt that sets them for 1 minute, and asks if you want to keep them. If you don’t respond, it reverts them back and tells you to stop being an idiot. :P

      • paperemail@links.rocks
        link
        fedilink
        English
        arrow-up
        9
        ·
        16 days ago

        So something like:

        nft -f newrules.nft; sleep 2m; nft destroy table ip newrules
        
        # newrules.nft
        table ip newrules {
          # …
        }
        

        As long as you run this in tmux, your new firewall rules will be dropped if you don’t cancel this in 2 minutes.

        • Programmer Belch@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          ·
          16 days ago

          Yes, I did something like that, I didn’t enable the systemd service, just started it and gave it a timer in gnu screen to reboot the system. If I wasn’t out of the network, I would just cancel the timer

  • sem
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 days ago

    I have never had this problem :'(