▲ 211 ▼ Firewall rule (feddit.org) submitted 1 year ago by moonleay@feddit.org to c/onehundredninetysix@lemmy.blahaj.zone 10 comments fedilink hide all child comments
[–] paperemail@links.rocks 7 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] programmer_belch@lemmy.dbzer0.com 3 points 1 year 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 permalink fedilink source parent
[–] programmer_belch@lemmy.dbzer0.com 3 points 1 year 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 permalink fedilink source parent