LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-20-2008, 08:09 AM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
Trying to choose best firewall method


Ladies & Gentlemen

I have been using linux for a couple of years now and I am ready to try some new things. But first I need to set up a (secure as I can make it) dhcp/firewall. I am currently using a Debian Lenny box with firestarter but I don't really need the gui and I want to utilize some old (read ancient) hardware that I have on hand.

I have looked at several options but I am not sure which is the best option for my setup. I want that setup to look like this when complete.

Cable modem > router/firewall > my network { local, dmz, myth-TV, mail, other all as I have the hardware and time}

The options I have looked at are:
floppyfw http://www.zelow.no/floppyfw/
building a Debian based unit http://www.aboutdebian.com/firewall.htm
ipcop http://www.ipcop.org/index.php

I like the idea of floppyfw because I can use the cd version and the box doesn't need a hard drive (green) and I have some even older hardware that it would work on. The down side is that if I use that even older hardware can it, the older hardware, keep up with the demands that will be placed on it when I set up my local mail serve and web server.

I see some advantages with the Debian based route too. Mostly in that I am familiar with the system. Also there are some features that I want to incorporate into my setup. Like Dynamic DNS and such to setup my own web server in a dmz. The instructions on the site seam clear to me but they lack certainty of a secure system when complete.

I do understand that security is an on going pursuit and I am not sure that the other options are any better at the start. I have been learning lately that I am not as secure as I thought I was and I have a lot of learning to do on this topic. That is why I am asking for your advice.

Ipcop seams like a great option on the surface. But after having read most of the install instructions I see that they seam to have taken away most of the on the fly configuration. I.E. In order to change the nic configuration, you have to rerun the network setup wizard you can't just take the interface down, change it's config and bring it back up. Also I am not sure it will do the things that the Debian based system will do, like allowing me to use dynamic dns to setup my own web/mail server. I am also not sure that I like the whole "configure from your web browser" idea.

Of course there may be another/better option that I don't know about yet that you all can point me to.

Eagerly awaiting your thoughts.
 
Old 11-20-2008, 08:55 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Smile

Hi, most linux systems are secure by default.

Iptables can be setup to cover a wide ranges of addresses

and ipcop can be used to ban certain ip addresses.

I have found this site useful when setting up my firewalled gateway proxy server.

iptables...
http://www.linuxhomenetworking.com/w...Using_iptables

squid...
http://www.linuxhomenetworking.com/w...ess_with_Squid

Maybe you will find it useful too. It is non-specific as far as distribution...

http://www.linuxhomenetworking.com/

regards, Glenn

Last edited by GlennsPref; 11-20-2008 at 09:00 AM.
 
Old 11-20-2008, 11:05 AM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Original Poster
Rep: Reputation: 46
Thanks GlennsPerf

I will be adding that site to my collection of goto's for setting up new features.

I am leaning towards the Debian based option and you have pointed me to some very useful info, Thanks again.

Does anyone else have some input?

There is also the question of what the hardware I want to use can handle. I am really shying away from the very old hardware I have, pre-pentium stuff because I don't think it will serve me long term. The hardware I want to use is an old HP pavilion 4440 that runs at 333 MHz. I have another (a Packard Bell) that runs at 400 but I think it has some mainboard issues.

So if I set it up how do I know that it is not able to handle the load? Obviously lack of connectivity under heavy load is a given, but are there any symptoms that would warn of it? Does anyone have any insight to share on this? I have 4 users and sometimes a guest or two on my network. Not sure how much bandwidth the web/mail server may need to start, but it's not set up yet anyway.

Willingly waiting for options/advice to consider.
 
Old 11-20-2008, 02:54 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by rbees View Post

So if I set it up how do I know that it is not able to handle the load?
Try it. We do not know the load, but for a home user it sounds as if any of the above should work if set up efficiently. Once you have it set up have a look at, eg, 'top' with the system under load.

As these are old systems, they could be light on ram, but without a gui
you should be fine, unless they are very light on ram.
 
Old 12-14-2008, 03:44 PM   #5
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Original Poster
Rep: Reputation: 46
So I am back to this again. I have decided to go ahead and use Debian Lenny for the os on my new firewall. Both of the old desktops I had that I was going to use developed mainboard problems and are not subtable any more. I did acquire some other hardware that is better suited to the load I may have in the near future.

I have installed a base system form a netinstall Lenny cd with no internet access. Side note: The last couple of times I have tried to install apps from it internet during a clean install the process would hang and not get a complete install.

Anyway, this install is very basic. I have fully updated the installed packages and installed midnight commander and dns. Other than that it is pretty much the way the netinstall cd left it.

In time I plan on installing Webmin but I am not sure that should be my next step.

I do have this machine behind a plastic box sub-net on my main network for added security while I build the system.

I have been reading the info you have pointed me to and one page is telling me that I need to go through the start-up scripts and comment out every thing I don't need. That is all well and fine but I am not sure just what I will and will not need. I know that you-all can't really tell me either. But I do seek your counsel because I am sure there are some givens that I won't need, aka alsa, smb to name a couple. Is this the next step I should take? Or would I be better off to install more of the packages I know I want first, aka snort, logcheck, rootkit detectors and other hardening packages and then do the pruning?

Thanks for your guidance.
 
Old 12-14-2008, 05:14 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, do the pruning first, keep the system slim.

With the services you don't know, trial and error, try one at a time. see what happens.

Oh, and Google is your friend!

Cheers, Glenn
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
Please help choose the best encryption method Akonbobot Linux - Security 5 05-07-2007 01:18 PM
Which Firewall ditro ti choose? inspiron_Droid Linux - Networking 8 02-26-2007 09:10 AM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 06:09 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration