Categories
CentOS

Instalare si activare serviciu iptables in CentOS

Oprire si mascare serviciu firewalld:

systemctl stop firewalld
systemctl mask firewalld

Instalare pachet iptables-services:

yum install iptables-services

Activare serviciu iptables la pornirea sistemului:

systemctl enable iptables

Managementul serviciului:

systemctl [stop|start|restart] iptables

Salvarea regulilor de firewall:

service iptables save

Leave a Reply

Your email address will not be published. Required fields are marked *