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:
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
iptables -L
/data/webs/external/dokuwiki/data/pages/computerfaq/block_ip_using_iptables.txt · Last modified: 2022/04/04 12:55 by genadmin