linux firewall configuration

How do you configure a linux firewall if you have a dsl line linked to a external modem and your Lan has two other machines in the network?
(steps would be fine enough)
shopnoAsked:
Who is Participating?
 
ahoffmannCommented:
dependeing on kernel version (2.2.x, 2.4.x) use ipchains or iptables. Kernel must be enabled for pcketfiltering.
0
 
joolsCommented:
You would do better to understand the concepts first, check out the howto's and examples. http://www.linuxnewbie.org has some good examples.

There are tools to assist if you really can't be bothered with the finer details but an overview would be.

Make sure your system is networked OK and everything is working.

Identify you kernel rev (see ahoffmann's comment) and make sure the relevant modules are configured into the kernel.

Get a pen and paper and plan your website, what services you want to allow/deny.

Either use a utility to build your ruleset or start making your own remember that ORDER is IMPORTANT.

You've got a lot of reading to do so we may not hear from you for a while... :-)


Jools
0
 
joolsCommented:
Crikey, you sorted that one out quick!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.