====== 02 CentOS7 iptables ====== CentOS7ではデフォルトfirewalldが動いている。 [[https://qiita.com/shrkw/items/8410e9cb65eb789a40e1]] ===== iptablesを利用する場合 ===== yum install iptables-services systemctl stop firewalld systemctl disable firewalld systemctl enable iptables systemctl start iptables ===== save ===== /usr/libexec/iptables/iptables.init save {{tag>Centos7 iptables}}
yum install iptables-services systemctl stop firewalld systemctl disable firewalld systemctl enable iptables systemctl start iptables
/usr/libexec/iptables/iptables.init save