You have to be the root to run the following commands.
Enable Firewall for IPv4:
# service iptables start
# chkconfig iptables on
Disable Firewall for IPv4:
# service iptables save
# service iptables stop
# chkconfig iptables off
Enable Firewall for IPv6:
# service ip6tables start
# chkconfig ip6tables on
Disable Firewall for IPv6:
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off
No comments:
Post a Comment