Block IP addresses in Linux with iptables

Block IP addresses with iptables Most system administrators will already be familiar with iptables. It is around for quite a while, and is enabled by default within the Linux kernel. We can use iptables to block one or multiple IP addresses. This may come in handy when you get repeating port scans or see failed login attempts in your log files. Check existing iptables configuration The first step is to validate existing iptables rules. We will use an empty ruleset for test purposes. […]

Read more