Firewall rule

209 points · 9 comments · view on lemmy.world

9 Comments

Skullgrid@lemmy.world · 30 pts · 1y (1 reply)

there ! Completely airtight!

Pets need air holes...

JasonDJ@lemmy.zip · 4 pts · 1y

Cattle, not pets.

Illegalmexicant@lemmy.world · 23 pts · 1y

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 · 11 pts · 1y

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

programmer_belch@lemmy.dbzer0.com · 4 pts · 1y (3 replies)

I was sweating while preparing my nftables setup knowing that there was a chance I would need to nuke the system

BobSentMe@lemm.ee · 6 pts · 1y (2 replies)

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 · 8 pts · 1y (1 reply)

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 · 4 pts · 1y

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@lemmy.blahaj.zone · 1 pts · 1y

I have never had this problem :'(