▲ 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
[–] programmer_belch@lemmy.dbzer0.com 6 points 1 year ago (1 child) I was sweating while preparing my nftables setup knowing that there was a chance I would need to nuke the system permalink fedilink source hideshow 2 child comments replies: [–] BobSentMe@lemm.ee 6 points 1 year ago (2 children) 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 permalink fedilink source parent hideshow 4 child comments replies: [–] 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 [–] anothercatgirl@lemmy.blahaj.zone 2 points 1 year ago I think LuCI does something like that https://zhanzat.github.io/luci-js-cookbook/ permalink fedilink source parent
[–] BobSentMe@lemm.ee 6 points 1 year ago (2 children) 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 permalink fedilink source parent hideshow 4 child comments replies: [–] 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 [–] anothercatgirl@lemmy.blahaj.zone 2 points 1 year ago I think LuCI does something like that https://zhanzat.github.io/luci-js-cookbook/ permalink fedilink source parent
[–] 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
[–] anothercatgirl@lemmy.blahaj.zone 2 points 1 year ago I think LuCI does something like that https://zhanzat.github.io/luci-js-cookbook/ permalink fedilink source parent