qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-22 months agoPeak securitylemmy.worldimagemessage-square34linkfedilinkarrow-up118arrow-down10file-text
arrow-up118arrow-down1imagePeak securitylemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-22 months agomessage-square34linkfedilinkfile-text
minus-squareItdidnttrickledown@lemmy.worldlinkfedilinkarrow-up0·2 months agoYeah except it would be iptables-restore < old_fw_rules.bak
minus-squarepiefood@feddit.onlinelinkfedilinkEnglisharrow-up1·edit-22 months 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!
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!