BT4 IPTables -> Block an IP

In case you ever scan a subrange and need to leave a few delicate IPs out, the following will do you right:

  • iptables -I INPUT -s <ip> -j DROP
  • iptables -I OUTPUT -s <ip> -j DROP

From Source: http://www.netadmintools.com/art216.html

Comments are closed