GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


computerfaq:block_ip_using_iptables

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 xxx.xxx.xxx.xxx -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
/home/gen.uk/domains/wiki.gen.uk/public_html/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