Frequently Asked Question

Block Ip Using Iptables
Last Updated 9 days ago

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
This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...