IP Tables Block IP and Port

CentOS, CloudLinux™, or Red Hat® Enterprise Linux (RHEL) 6, or Amazon Linux On a CentOS, CloudLinux, or RHEL 6, or Amazon Linux system, use the iptables utility to manage your firewall. CentOS 7, CloudLinux 7, or RHEL 7 On a CentOS 7 or CloudLinux 7 system, use the firewalld utility to manage your firewall. For example, to block traffic for a single IP…