Поиск по этому блогу

четверг, 25 августа 2016 г.

CentOS 7 FirewalID, Iptables

By default CentOS 7 use FirewalID. If you want to get rid of it and use iptables, you should do the following:

systemctl disable firewalld
 
systemctl stop firewalld

yum install iptables-services

systemctl start iptables
 
systemctl enable iptables
 
 
If you have saved rules you want to restore, type:
 
iptables-restore < /fullpath/your-saved-rules
 
Now save it to keep these rules after reboot:
 
service iptables save 

Комментариев нет:

Отправить комментарий