How to block an IP Address with iptables

In this tutorial, we will explain you how to block and unblock an IPv4 and IPv6 Address on your Linux Dedicated Server with iptables. Block an IPv4 Address iptables -A INPUT -s IP_ADDRESS -j DROP Block an IPv6 Address ip6tables -A INPUT -s IP_ADDRESS -j DROP Block an IPv4 Address on a specific port iptables…