IP tables阻止特定IP地址

iptables -I INPUT -s 123.123.123.123 -j DROP

iptables -I INPUT -s 123.123.123.0/24 -j DROP