simple iptables rule to block ip address
block an ip address
#iptables -A INPUT -s 192.168.2.3 -j DROP
block outgoing TCP traffic from the server
#iptables -A OUTPUT -p tcp -d 192.168.2.3 -j DROP
block an ip address
#iptables -A INPUT -s 192.168.2.3 -j DROP
block outgoing TCP traffic from the server
#iptables -A OUTPUT -p tcp -d 192.168.2.3 -j DROP