Thank you, Mr. Korren. I'll practice a few times and see if I can reproduce my original rule set. Best regards. On May 23, 2016 1:39 AM, "Barak Korren" <bkorren@xxxxxxxxxx> wrote: > > > > If I'm understanding correctly, write out all rules in a bash terminal > and > > run them, and then do /usr/sbin/iptables-save --- > > > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbiniptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbiniptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbiniptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbin/iptables rule; > > ~#/usr/sbiniptables rule > > > > ~#/usr/sbin/iptables-save > /etc/sysconfig/iptables > > Yep. > And you can copy '/etc/sysconfig/iptables' around if you have > identical machines and no machine-specific rules... > (Note, you can even port the rules from other Linux distros as > iptables-save exists there as well) > > -- > Barak Korren > bkorren@xxxxxxxxxx > RHEV-CI Team > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > https://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos