Block IP address iptables

Insert DROP rule at position 1 for a specific source IP

iptables -I INPUT 1 -s 203.0.113.5 -j DROP
more iptables all 10 commands →