1 頁 (共 1 頁)

關閉 開機時起動的 iptable

發表於 : 2013-12-30 10:11:57
yehlu
http://www.cyberciti.biz/faq/turn-on-tu ... -in-linux/

A Linux firewall is software based firewall that provides protection between your server (workstation) and damaging content on the Internet or network. It will try to guard your computer against both malicious users and software such as viruses/worms.

Task: Disable / Turn off Linux Firewall (Red hat/CentOS/Fedora Core)

Type the following two commands (you must login as the root user):
# /etc/init.d/iptables save
# /etc/init.d/iptables stop

Turn off firewall on boot:
# chkconfig iptables off

Task: Enable / Turn on Linux Firewall (Red hat/CentOS/Fedora Core)

Type the following command to turn on iptables firewall:
# /etc/init.d/iptables start

Turn on firewall on boot:
# chkconfig iptables on