Sida loo dhigay ilaa iptables si toos ah u soo celin on reboot in CentOS Linux?

Ka dib markii sameynta iptables xeerarka fiiri!
iptables -S

Marka marxaladdan xeerarka iptables waa in lagu muujinaya.

 

iptables Next baahan yahay in la rakibo sida adeeg ka dibna adeegga iptables baahan yahay in la bilaabay on reboot. Markaas xeerarka u baahan tahay si ay u badbaadaan si ay u adkaystaan ​​on reboot

 

Change in xidid

uu

 

Ku rakib 'adeegyada iptables-’ xirmo

yum rakibi adeegyada iptables-

 

In loo sahlo iptables sida adeega nidaam

awood systemctl iptables

 

In loo sahlo adeegga iptables si ay u bilaabaan nidaamka xawaaladaha

systemctl bilaabi iptables

 

Save xeerarka iptables

iptables adeegga badbaadiyo

 

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

Leave a Reply