qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-24 days agoPeak securitylemmy.worldimagemessage-square92linkfedilinkarrow-up11.28Karrow-down111file-text
arrow-up11.27Karrow-down1imagePeak securitylemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-24 days agomessage-square92linkfedilinkfile-text
minus-squareItdidnttrickledown@lemmy.worldlinkfedilinkarrow-up6·4 days agoYeah except it would be iptables-restore < old_fw_rules.bak
minus-squarepiefood@feddit.onlinelinkfedilinkEnglisharrow-up13·edit-24 days agoFun 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!
minus-squareItdidnttrickledown@lemmy.worldlinkfedilinkarrow-up7·4 days agoIt wasn’t always that way. At one time you had to so I still do.
minus-squarepiefood@feddit.onlinelinkfedilinkEnglisharrow-up6·4 days agoTotally! I still catch myself doing that sometimes. Old habits die hard
Yeah except it would be iptables-restore < old_fw_rules.bak
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!
It wasn’t always that way. At one time you had to so I still do.
Totally! I still catch myself doing that sometimes. Old habits die hard