Bawo ni lati ṣeto soke iptables lati mu pada laifọwọyi lori atunbere ni CentOS Linux?
Lẹhin ti eto soke ni iptables ofin ṣayẹwo wọn!
iptables -S
Ni yi ipele rẹ iptables ofin yẹ ki o wa ni fifi.
Next iptables nilo lati fi sori ẹrọ bi a iṣẹ ati ki o si awọn iptables iṣẹ nilo lati wa ni bere lori atunbere. Ki o si ofin nilo lati wa ni fipamọ ki nwọn ki o persist on atunbere
Ayipada to root
rẹ
Fi sori ẹrọ 'iptables-iṣẹ’ package
yum fi sori ẹrọ iptables-iṣẹ
Jeki iptables bi a eto iṣẹ
systemctl jeki iptables
Jeki iptables iṣẹ lati bẹrẹ lori eto ibẹrẹ
systemctl bẹrẹ iptables
Fi awọn iptables ofin
iṣẹ iptables fi
Atunbere ni Centos Lainos eto ati ki o ṣayẹwo pe awọn iptables ofin persist.
