CSF commands for Unix/Linux servers

CSF commands for managing your server firewall. 1. Enable csf and lfd if previously disabled csf -e Or csf –enable 2. Disable csf and lfd completely csf -x Or csf –disable 3. Restart firewall rules csf -r Or csf –restart 4. Start the firewall rules csf -s Or csf –start 5. Flush/Stop firewall rules (Note: […]

See More

Introduction and basic usages of iptables under Unix/Linux

* What is iptables in Linux ?  Iptables is a rule based firewall system and is normally pre-installed on a Unix operating system which is controlling the incoming and outgoing packets. Basic structure of iptables The structure for the iptables is like, Tables which has chains and the chains which contains rules. Tables —> Chains […]

See More

How to install and configure csf on CentOS

Install and configure csf on CentOS the following steps as root user 1: Downloading csf package. rm -fv csf.tgz wget http://www.configserver.com/free/csf.tgz 2: Remove already installed firewall settings Execute the following command to remove already installed firewall like APF (Advanced Policy Firewall) or BFD (Brute Force Detection) from server. [root@server #] sh /tmp/csf/remove_apf_bfd.sh 3: Installation [root@server #] […]

See More