#!/bin/bash . /usr/src/m2/framework/bash_functions.sh # clean iptables after initial install which blocks almost everything (except port 22 for ssh) _centos_version if (( centos_version != 6 )); then systemctl stop firewalld > /dev/null 2>&1 systemctl disable firewalld > /dev/null 2>&1 yum -y install iptables-services systemctl enable iptables.service systemctl start iptables.service fi iptables -F service iptables save