1256
Peak security (lemmy.world)
submitted 2 days ago* (last edited 2 days ago) by qaz@lemmy.world to c/programmer_humor@programming.dev

^This^ ^is^ ^a^ ^joke,^ ^I^ ^didn't^ ^really^ ^lock^ ^myself^ ^out^

you are viewing a single comment's thread
view the rest of the comments
[-] Itdidnttrickledown@lemmy.world 6 points 2 days ago

Yeah except it would be iptables-restore < old_fw_rules.bak

[-] piefood@feddit.online 13 points 2 days ago* (last edited 2 days ago)

Fun fact: When you do iptables-save, you have to redirect the output if you want to save it to a file. But when you use iptables-restore, you don't need to pipe it back in, you can just use the filename!

[-] Itdidnttrickledown@lemmy.world 7 points 2 days ago

It wasn't always that way. At one time you had to so I still do.

[-] piefood@feddit.online 6 points 2 days ago

Totally! I still catch myself doing that sometimes. Old habits die hard

this post was submitted on 05 Aug 2025
1256 points (99.1% liked)

Programmer Humor

25531 readers
1564 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS