Linux Firewall
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Linux Firewall

  1. #1
    Senior Member
    Join Date
    Jan 2004
    Posts
    199

    Linux Firewall

    I'm planning to install a firewall linux box after reading about all its security advantages over windows, but i was wondering, which linux dis would should i use ?

    I'm pretty new to the whole linux world, so I don't want something that is going to be to hard to set up, but at the same time i don't want something that is going to be too easy. I'm hoping to use this as a learning expereince too.

    Any recommendations or past experiences would be great to hear about.

    Also if anyone knows of a good book, e-book, or website with guides to help set up the linux dis that you've recommended i'd very much like to hear.

    Thanks alot for any help given.

    Oooo .... btw i'll be installing on a P3, 128MB RAM, 8GB H/D, standard grahpics + sound
    -

  2. #2
    I say use OpenBSD as the distro. With only 1 remote exploit in the past 6 years, and with the entire OS going through continual security audits, OBSD has always meant to be a firewall/server. It isn't as simple as redhat to install, but it isn't as difficult as a gentoo installation.

    http://www.openbsd.org

    I've always recommended and used it in firewalls and mission critical servers for as long as OBSD, and it has never failed me or it's community of users. It offers a very good amount of hardware support, reaudied source code to be made more secure (less buffer overrflows), aa very experienced collective community that knows their **** when it comes to security, and tons of built in firewall options coded right into tie OS. I'd like to also offer why the other distro's may not suit you yet.

    1. Redhat: Simple to setup, but almost too damn simple. Point and click and wait simple. You said you wanted to actually learn.

    2. Mandrake: A psuedo duplicate of RH, and just as easy to setup. No learning involved.

    3. Gentoo: The hardest OS to install because you work on the lowest levels possible, and build it from scratch. A killer OS after everything is done, but you said you didn't want something _too_ hard.

    4. Debian: Far too old. Sure old means stable, but old also means lack of proper hardware support for newer systems (yours is still considered new). Package support is very good (programs you can run off of it) but still, very outdated even on newer program releases.

    5. FreeBSD: A very good BSD distrobution, but balanced on desktop and server usage, worrying more about desktop latency schedualing then network security. Built in kernel options don't support the security checks OBSD does.

    6. NetBSD: Your computer can run it, everyone's computer could run it. It's just *there*

    7. Windows 2003 server: A great server win distro, but a horrible firewall alternative. Remember, windows == desktops and windows != servers.

    8. Suse: Similar to gentoo in terms of updating and having themost recent package releases, but nothing too sparky about it. Much more desktop oriented than server security oriented.


    Please keep in mind that this is not a flame on other OSes, as they all have their place. My opinions here are based upon how the above distros respond to their usage in security/firewall usage rather than desktop usage. Of course, this may end up as a flame war, but my words here are not to spite others. I base it off of personal experience and what has been easy to break into and what has not. This is just from my experience as both a long term grey hat, and a legal network security consultant. Best wishes to you!

  3. #3
    Senior Member
    Join Date
    Jan 2004
    Posts
    199
    Thank you very much for the truely brilliant reply. I tried to give you antipoints for it but the system said i need to spread them around :S Sorry about that .... thanks again , bye
    -

  4. #4
    Senior Member
    Join Date
    Dec 2002
    Posts
    275
    If you want a stand alone linux firewall, then you could try smoothwall or ipcop:

    http://smoothwall.org/about/
    http://www.ipcop.org/

  5. #5
    As a side note, I must add this: All OSes are basically the same in security when it comes down to it, as true security relies on the admin. Windows can be as secure as OBSD, and OBSD as insecure as default windows. It all matters to how much the admin knows and is willing to configure for security. My point above was to state default security and security that can not be simply configured. OBSD has that default security and built in security. What I mean by built in security is exploits:

    An OS exploit is very rarely able to be halted through normal security means. You either have to wait for a patchor fix the code yourself, as it is something wrong internally with the Os, and not fixable by a simple configuration (for the majority of exploits)

    Liken it to building a prison. You build it using hard, solid rock and brick, allowing no windows or doors. You have configured it for security 100%. An exploit would be learning that the kind of rock you used is vunerable to salt, and thus there isn't a damn thing you can do about it until someone developes a fix for that. OBSD, in short, has far less of those build in exploits due to the continual code audit, and thus my reasoning behind recommending it.

  6. #6
    Senior Member
    Join Date
    Sep 2003
    Posts
    500
    Smoothwall that box like a madman. Not only is it easy as pie to set up, the html interface is bloody gorgeous.


    Kudos to dublix on this one
    You shall no longer take things at second or third hand,
    nor look through the eyes of the dead...You shall listen to all
    sides and filter them for your self.
    -Walt Whitman-

  7. #7
    Well, easy is not what the origonal poster saught. They wanted to install a Linux *Distro* that wasn't too easy, so that they could begin learning linux, while not wanting it to be too hard. Having something that isn't a pure linux distro (in otherwords not just a firewall only port) limits that learning experience of Linux, while also being far too simple to learn from.

    While I agree smoothwall is a killer firewall system, let's not forget the learning process of Linux. Walk before we run

  8. #8
    Senior Member
    Join Date
    Dec 2003
    Location
    Pacific Northwest
    Posts
    1,675
    Great stuff,

    If you are new to linux save yourself some trouble and make sure your hardware is compatable with the Linux Distro you want to use, before attempting to install the OS. Of particular concern would be the modem. The Q & A sections of most sites are full of inquiries about not being able to setup the modem (the poor guys and gals found out the definition of a Winmodem the hard way!). I mention the modem because afterall you want the darn thing to go online!


    Good Luck

    http://www.google.com (linux modems)
    http://www.linuxhelp.net/guides/ (for other questions)

  9. #9
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,535
    Well, easy is not what the origonal poster saught.
    Well, in that case:

    man iptable
    and
    IPTABLES in the Linux 2.4 Kernel

    should be helpfull..
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  10. #10
    Senior Member
    Join Date
    Jul 2002
    Posts
    117
    I have to agree with the Smoothwall recommendations. Aside from being the only Linux based firewall I have any kind of experience with, like others have mentioned, it is fairly easy to install. The text-based install screens look kind of intimidating, but as long as you have a basic understanding of IP addressing and firewall jargon (which are the red and green sides of your network), it shouldn't be too bad. The best feature is the web based administration/configuration, which allows you to create rule sets much easier than with IPtables. Of course, you'll have to log in to do so.

    You can download the ISO from the Smoothwall website, it's about 100 MB or so, and providing you're network isn't too large, it should handle the job just fine. I knew some people who ran a smoothwall box to isolate a campus lab (20 machines or so) to isolate it from the rest of the university's network and it worked just fine.

    Good luck,
    alpha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •