Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


Blocking an IP using iptables on Centos

This is a fairly simple and easily accomplished process. We use the iptables command thus:

  1. iptables -I INPUT -s -j DROP

Upon execution, the INPUT ip address specified is DROPed.

You can view the rules currently setup for iptables using the command

  1. iptables -L
/data/webs/external/dokuwiki/data/pages/computerfaq/block_ip_using_iptables.txt · Last modified: 2022/04/04 12:55 by genadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki