How to Install CSF and LFD In Linux Servers

Firewall plays an important role in the protection of the server. Firewall protects the servers against harmful stuff. Firewall controls the incoming and outgoing traffic by analyzing the packet and determine whether they are allowed through or not based on set of rules. In Linux we uses IPTABLES to manage the firewall rules. But its…

Change the default SSH port 22

The Secure Shell (ssh) protocol by default uses the port 22. Attackers mostly uses the port 22 in automated attack and changing the default will prevent your server from these automated attack. There are many ways of making your server secure and changing the default ssh port is one of the server hardening. Steps to…

Search Multiple Words or String Pattern

Search is the most important factor which we often used in our daily routine. Some time we need to search multiple words or string in a file, and grep provides the functionality to look into a file and search more than one words. With the combination of grep command and regular expression we can search…

How to Install APF Firewall In Linux Servers

APF(Advanced Policy Firewall) is a policy based Iptables firewall system designed for ease of use and configuration. The configuration of APF is quite simple and easy. Below are the steps to install APF firewall: 1. Change to tmp folder to download apf. cd /tmp 2. Download the apf tar file using wget. wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz 3.…