Linux : How to block IP address with IPtables

By | November 22, 2010

Here is a quick how to block a specific IP address with the IPtables Linux firewall.

Open the IPtables script :

To block INBOUND IP address, add the following :

To block OUTBOUND IP address :

(replace with the IP you want to block)


Be Sociable, Share!