• 36 Posts
  • 114 Comments
Joined 2 years ago
cake
Cake day: June 6th, 2023

help-circle

  • paperemailto196@lemmy.blahaj.zoneFirewall rule
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 month 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.