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.