Posts tagged as:

iptables-restore command

How Do I Block An IP Address On Linux Server ?

by lifeLinux on January 31, 2012

I run CentOS on my server, and I often find that my server is being attacked by other computers. Brute force SSH attacks, port scanning, viruses scanning for the ability to spread, things like that. In this article, I’ll show you how to block an IP address on Linux server using IPTables.

{ 0 comments }

How To Save/Restore Iptables Rules

by lifeLinux on May 18, 2011

Save Iptables rules Rules created with the iptables command are stored in memory. If the system is restarted before saving the iptables rule set, all rules are lost. To save netfilter rules, type the following command as root: # /etc/init.d/iptables save

{ 0 comments }