qaz to Programmer Humor@programming.devEnglish • edit-229 days agoPeak securitylemmy.worldimagemessage-square28fedilinkarrow-up16arrow-down10file-text
arrow-up16arrow-down1imagePeak securitylemmy.worldqaz to Programmer Humor@programming.devEnglish • edit-229 days agomessage-square28fedilinkfile-text
minus-square@Itdidnttrickledown@lemmy.worldlinkfedilink0•28 days agoYeah except it would be iptables-restore < old_fw_rules.bak
minus-squarepiefoodlinkfedilinkEnglish1•edit-228 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!
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!