hadi motamedi wrote:
Thank you for your reply . But it is returned "No such file" for /etc/sysconfig/iptables . Can you please correct me ?
if fthat file doesn't exist, you're probably not running the dfeault centos firewall scripts, you may well have some other firewall script on there, or none at all.