| Q. Quick question: I need to disable firewall in Linux for testing purpose. I’m using CentOS 4.4. How do I disable the firewall in Linux? A. 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): Task: Enable / Turn on Linux Firewall (Red hat/CentOS/Fedora Core)Type the following command to turn on iptables firewall: Other Linux distributionIf you are using other Linux distribution such as Debian / Ubuntu / Suse Linux etc, try following generic procedure. Save firewall rules Now type the following commands (login as root): To restore or turn on firewall type the following command: |
Powered by WHMCompleteSolution