[CentOS] [CENTOS ]IPTABLES - How Secure & Best Practice

Wed Jun 29 20:20:16 UTC 2016
Gordon Messmer <gordon.messmer at gmail.com>

On 06/29/2016 12:51 PM, Dennis Jacobfeuerborn wrote:
> On 29.06.2016 12:00, Leon Vergottini wrote:
>> #  ------------------------------------------------------
>> #  SAVE & APPLY
>> #  ------------------------------------------------------
>>
>> service iptables save
>> service iptables restart
> You shouldn't script iptables like this and instead use iptables-save
> and iptables-restore to activate the rules atomically and with some
> error checking.

Yeah, he is.  That's what those two commands do.