Iptables howto

IPTABLES basic commands

List current rules:

# iptables -L -v
Remove all previous rules:
# iptables -F
Don’t disconnect ESTABLISHED connections:
# iptables -A INPUT -m state –state ESTABLISHED,RELATED -j …

Install NRPE in Linux

.
.
Overview of NRPE:
NRPE
Installing and Configuring Nagios NRPE in Linux:
# cd /tmp
# wget http://internap.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
# tar -zxvf nrpe-2.12.tar.gz
# cd nrpe-2.12
# ./configure –enable-ssl –enable-command-args
(should …

Linux mini manual

Linux Debian/Ubuntu Commands
Last Updated April 2009
My Mini Manual
|– FILES/SEARCH/SYSTEM  –|
Unique names, remove duplicate names:
# cat words.txt | sort | uniq > dictionary.txt
remove any words …