Iptables is a default firewall available in all linux flavors, and widely used to secure servers. If you are running kloxo, and want to use iptables to secure your box, then here are the basic rules which you can add in your iptables.
# Clear rules
iptables -t filter -F
iptables -t filter...
Few of very simple steps
1) Login using root
2) Enter following command to open port in iptables
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
3) Enter following command to close port in iptables
iptables -A INPUT -p tcp --dport 25 -j DROP
4) Save iptables
service iptables save OR...
Last day one of our server had an attack, attack was not so big but still server was unresponsive because of this. After some research I found that this is because of iptables which are being load while handling so much traffic. Then I found a good article on the same issue which you can read by...