Linux based router/firewall

Rifter

Lifer
Oct 9, 1999
11,522
751
126
Good evening all, im going to be setting up a home server mainly because i have alot of the hardware and want to learn the hardcore inner workings of linux. I have been a windows user for many years and know how to do all the things i am asking about in a windows enviorment(up to server 2003 anyways) but am completly clueless in linux.

Server hardware:

AMD 7750
2GB DDR2 1066
2 Intel gigabit NIC
OS drive 500GB
4 1.5TB Drives in RAID5

Server needs to accomplish:

DHCP server/routing
FTP server
HTTP server
Sharing RAID 5 array to linux and windows wired/wireless computers with read/write access on network(7 of them counting the PS3/laptops)
Caching Web Proxy server
Firewall
Print server(3 printers)


Currently am using a Tomato flashed WRT54GL for router, want this to be for wireless only and have server handle all wired connections as well as DHCP/firewall. Have a 8 port Gigabit switch.

What Linux Distro do you reccomend? i was going to use Mint because thats what i have been useing for my desktop for a year and am used to it now, have been waiting for Mint 8 64bit to be final.

What programs do you reccomend for software RAID? i hear linux software raid is great and want to try it out so i dont need to buy a $400+ RAID card.

What firewall do you reccomend? I want it to do packet sniffing/inspection. Will lock down ALL PORTS and only open what i need to, want to learn how to secure a linux network. Main reason for this is a HATE WITH A PASSION windows firewall, it has caused me nothing but trouble and want to have server run the firewall so i can get rid of windows firewall forever and not need to worry about securing each computer individually.

What FTP/HTTP servers are good? Apache?

What caching proxy programs are good, i hear Squid is great.

This does not need to be done overnight and will keep useing the router till i get server up and running so i can take as much time as i need to learn and configure it.

Currently have all server components except RAID 5 drives, just waiting to install OS and start screwing with it. I plan to read ALOT and i know i need to learn ALOT.

Might get into domain stuff later.

Any helpful website's or suggestions on where to start?
 

gsaldivar

Diamond Member
Apr 30, 2001
8,691
1
81
I've had good experience doing most of what you described with eBox. If you're new to Linux, eBox will shorten the learning curve significantly, but as with any distro you will still have some learning to do if you want to do any major customization. I'm sure the RAID thing can be done with eBox but just might not be totally managed within the GUI. I would look through their docs and forums posts for others that have integrated RAID successfully.

IMHO your CPU seems overkill for all of the tasks you've described with the exception of software RAID. I think you'll be surprised at how light of a CPU footprint these tasks really are on a dedicated server. Presumably you would be running the server 24/7, you can save a bit of money on your energy bill by aiming for a lean & mean build. Again, I'm not sure about the processor load of software RAID, so you would have to test that yourself to find where the best bang-for-buck spot is.

http://www.ebox-platform.com/

http://trac.ebox-platform.com/wiki/Features

http://trac.ebox-platform.com/screenshots

Good luck!
 
Last edited:

her209

No Lifer
Oct 11, 2000
56,336
11
0
Server needs to accomplish:

DHCP server/routing - dhcpd
FTP server - ftpd
HTTP server - httpd (Apache)
Sharing RAID 5 array to linux and windows wired/wireless computers with read/write access on network(7 of them counting the PS3/laptops)
Caching Web Proxy server - squid
Firewall - iptables
Print server(3 printers) - cupsd
For DNS, just use bind
 

kornphlake

Golden Member
Dec 30, 2003
1,567
9
81
Google is your friend for all things Linux, if you use www.google.com/linux it will pull results from only Linux related sites. I've had best luck looking at each component seperately, find everything you need to know about DHCP by searching google for dhcp3 server, get dhcp setup and running and test with multiple clients, then move on to squid, iptables, etc.


I find iptables very difficult to configure from the command line, it's not very intuitive and the config files don't offer enough guidance. I suggest you use a GUI for Iptables, I've used Firestarter as a GUI and had some success, it took some manual editing of config files to get everything working right. I haven't tried Smoothwall but it may be a better option.
 

Rifter

Lifer
Oct 9, 1999
11,522
751
126
Thanks for all the help so far, doing some reading it seems ebox would work well, its for ubuntu by the looks of it and since Mint uses the same repos i think i can get it running under Mint.
 

deaner

Senior member
Mar 13, 2009
632
1
81
I find iptables very difficult to configure from the command line, it's not very intuitive and the config files don't offer enough guidance. I suggest you use a GUI for Iptables, I've used Firestarter as a GUI and had some success, it took some manual editing of config files to get everything working right. I haven't tried Smoothwall but it may be a better option.

Yeah, iptables can be a pain, but once you learn, its not too bad from the terminal..
 

NickOlsen8390

Senior member
Jun 19, 2007
387
0
0
I've been running 4x 1tb drives in software raid 5 for a long time. Have a server doing file serving and some other stuff. Its just running a base install of centos 5.4. Have separate boxes for dns web router ...ect..
 

Rifter

Lifer
Oct 9, 1999
11,522
751
126
Hey guys whats a good filesystem for linux software RAID? i want something at least 64bit so i can have files larger than 2GB which a buddy told me is the limit of 32bit filesystems.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Hey guys whats a good filesystem for linux software RAID? i want something at least 64bit so i can have files larger than 2GB which a buddy told me is the limit of 32bit filesystems.

Pretty much all of the filesystems available for Linux, minus FAT and some special ones, allow files >4G.

Generally ext3 is the safe default that most distros choose, although I believe Ubuntu defaults to ext4 these days. I personally like XFS.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |