Saturday, May 14, 2011

Common iptables command, cheatsheet

November 12, 2009 by admin  
Filed under General

Leave a Comment

#!/bin/sh #File: /etc/rc.d/rc.firewall # Immediately log and drop any known abusive IPs iptables -A INPUT -p tcp -s -m limit –limit 1/minute  –limit-burst 10  -j LOG –log-prefix “[DROPPED_NODE]“   –log-level 4 iptables -A INPUT -p tcp -s -j DROP # Allow from any to any on iptables -A INPUT -s -j ACCEPT [...]

How to change your hostname in Ensim?

October 12, 2009 by admin  
Filed under Ensim

Leave a Comment

There are many discussions about changing your hostname in Ensim. Many are overly complicated or detailed, miss critical steps, or add steps that are unnecessary. Changing your hostname requires editing two files and restarting your server — thats it! Of course, you will need to know how to use telnet or SSH and a text [...]