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):
- Mã: Chọn tất cả
/etc/init.d/iptables save
/etc/init.d/iptables stop
Turn off firewall on boot:
- Mã: Chọn tất cả
chkconfig iptables off
Task: Enable / Turn on Linux Firewall (Red hat/CentOS/Fedora Core)
Type the following command to turn on iptables firewall:
- Mã: Chọn tất cả
/etc/init.d/iptables start
Turn on firewall on boot:
- Mã: Chọn tất cả
chkconfig iptables on
View more: http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/