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

Always Learning centos at u68.u22.net
Thu Jun 30 00:19:24 UTC 2016

On Wed, 2016-06-29 at 10:49 -0700, Gordon Messmer wrote:

> On 06/29/2016 03:00 AM, Leon Vergottini wrote:
> > #!/bin/bash
> >
> > iptables -F
> > service iptables save

> Why would you save the existing rule set?  This script throws it away 
> later, when it runs save again.

He flushes all the tables, then saves an empty iptables configuration. 
Later he adds to that empty iptables configuration.

Long-winded, but nothing wrong. Don't forget he is a learner (leerling)
No person is perfect when starting to learn a new system.

Only by experimenting will one learn.


England, EU.      England's place is in the European Union.
UK banned residents voting when they have lived in the UK for 51 years.

More information about the CentOS mailing list