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

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

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

> On 06/29/2016 03:00 AM, Leon Vergottini wrote:
> > #!/bin/bash
> >
> > #  RESET CURRENT RULE BASE
> > 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.


-- 
Regards,

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