What is iptables?
A simple wiki definition goes as “iptables is a user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall (implemented as different Netfilter modules) and the chains and rules it stores.”
It is a tool that allows sysadmins to manipulate linux kernel firewall for security. I have used iptables to secure webserver from any anomaliies that may occur from intruders.
Before proceeding to the iptables firewall, Please follow the basic server configuration which consists of basic security configs.
Linux Server Configuration Best Practices
Continue reading iptables: Stop Bruteforce attacks
Most of the time, beginners in Linux get confused about the things they need to consider while installing and configuring Linux server for deployments.
- Opt for hardware raid. If not you can go for software raid.
- If possible configure Hardware raid 10. If not you can configure hardware raid 5 or raid 1.
- Except boot partition, please configure LVM for every partitions.
- Make swap double of physical RAM size for less than 4GB and same as physical RAM for more than 4GB
After we install and configure servers, Please be aware of doing following tasks. Continue reading Linux Server configuration best practices