Am running these commands on "Red Hat Enterprise Linux Server release 6.4":
To check current status of the firewall:
# service iptables status
To Start the firewall
# service iptables start
To Stop the firewall
# service iptables stop
To Restart the firewall
# service iptables restart
To check the iptables configuration
# cat /etc/sysconfig/iptables
To edit the iptables configuration
# vi /etc/sysconfig/iptables
No comments:
Post a Comment