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…

How to install iptables on CentOS 7

CentOS now comes with firewalld instead of iptables at the installation of your Dedicated Server. You can remove the firewalld service and install iptables to manage your firewall rules. First you need to stop and remove firewalld systemctl stop firewalld systemctl disable firewalld yum remove firewalld Now you can install iptables yum install iptables-services -y…