Me pēhea te ki te whakaturia ake iptables ki whakahokia aunoa i runga i anō i roto i CentOS Linux?

I muri i te whakatakoto ake nga iptables ture tirohia ratou!
iptables -S

I tenei wā kia whakaatu koutou iptables ture.

 

Me iptables Next ki te tāuta rite te mahi, me te ka hiahia te ratonga iptables ki kia tīmata i runga i whakaara anō. Na e hiahia ana ture ki te kia ora kia e tohe ratou ki runga ki anō

 

Huri ki te pakiaka

tona

 

Tāuta 'iptables-ratonga’ mōkihi

paihikara tāuta iptables-ratonga

 

Whakahohea iptables rite te ratonga pūnaha

systemctl taea iptables

 

Whakahohe ratonga iptables ki te tīmata i runga i te whakaohonga pūnaha

systemctl tīmata iptables

 

Whakaorangia nga ture iptables

iptables ratonga whakaora

 

Reboot the Centos Linux system and check that the iptables rules persist.

Leave a Reply