C-NSECURITY.COM
How To Section
Welcome to the How To section. Here you will
find information about software that has plagued Mankind with headaches
so many times. Now, we do not claim to be the so-called expert,
but we are trying to make the difficult into a very manageable,
understandable series of How To Articles. Updates every Wednesday.
Once each topic have been completed, they will be linked to their own
page will all parts displayed in order. Enjoy!!!
Iptables
Got you crazy? Take a deep breath. Part 1
Iptables. Man can they be a pain but if you are running a
network with a Linux firewall, you better know how to set them up.
They can be difficult to learn, but the biggest thing that must be
remember is not to block all traffic. Some of the beginning steps
is to remember always start by dropping all incoming data packets.
So:
iptables -A INPUT -i eth0 -j DROP
This statement states to drop all packets coming on eth0 which is your
default Ethernet port. From there you can set your firewall to be stateful which will examine all data packets looking at the SYN/ACK/FIN
settings.
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
Next, set which protocols you want to be allowed through the firewall.
iptables -A INPUT -p tcp -m tcp --sport 80 -j ACCEPT
Of course the above rule is to allows all traffic on port 80, HTTP, to
be allowed through the firewall. A couple more pointers, allow
your loopback to pass through on the incoming and outgoing Ethernet
device, eth0. I will post more about IPtables in upcoming posts.
We are working on Part 2.
Security Software How To:
Key Scrambler
We are always looking out for
new and free software that helps everyone be more secure on the computer
or Internet. Today we bring you Key Scrambler. Click here to
visit our review. Key
Scramber
Disaster Recovery and Business Stability
Click the above title to be taken to our in-depth article about disaster recovery planning and business stability through planning, testing, and implementing.