Suggest a Linux Distro...

harrkev

Senior member
May 10, 2004
659
0
71
OK. I probably could have put this in the "operating systems" area, but this is VERY network-centric, so it seems a better fit here.

Right now, my network setup is a mess. On my network is a computer that I do not trust. The person using the computer is not very tech-savvy (elderly person), so I do not trust them to not download trojans, etc. So, I have a router hook up to the cable modem. This untrusted computer connects to the router. I have a 2nd router hooked up to the 1st router, and a pair of trusted computers and a NAS box (D-Link DSM-G600) connected to the 2nd router.

I was hoping for a more elegant solution for this. I was hoping that I could build a PC from junk parts that has three ethernet ports on it. One would go to the cable modem. The other would go to the untrusted computer, and the third would go to a switch with all of the other devices hanging off of it. The computer would handle all router-type stuff: DHCP, NAT, NAS (samba). It should also be able to allow the untrusted machine access ONLY to the internet and not to any of the trusted devices. If I could throw Apache and MySQL on here later, that would be a bonus but is not necessary.

So, my question is which linux distribution would best handle this stuff, and how hard would it be to set it up? I have seen some simple distros that do the router thing, and others that do the NAS thing. But I need both together.

I know a fair amount about networking. I can use Linux, and I have no problem editing configuration files, if I know where these files are and what to put in them. I have never re-compiled a kernel and have almost no experience as a Linux admin.

I know that I could throw Fedora or Ubuntu in server modes on there and if I install the right packages I could get everything to work. But that would be a very painful experience in trying to figure out which packages that I even need. I was hoping that there was something ready-made that could handle this.

Any suggestions?

Oh, one more question... What is performance like using Samba over a 100Mbps link? My D-Link DSM-G600 can only sustain about 5.5MB/s reading. A 100bps link shoudl be able to approximately double that. I was wondering with Samba servers what kind of network performance people got, and how much processing power was needed on the server in order to maintain that.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
For the firewalling stuff you won't need any special packages, just iptables. The hard part will be setting up the rules, I know there are tools out there to help with that but I don't use them so I can't recommend anything.

For DHCP you'd need the dhcp3-server package, /etc/dhcpd.conf has a pretty simple format and should be well commented. For DNS you'd want the bind or bind9 package, depending on whether you want 8.x or 9.x version of bind, the config file is pretty simple but the zone files can be a bit of a pain. And the Samba package is called samba. Everything except the netfilter rules is pretty simple to setup if you have the time to put it all together.

As for Samba performance, you should be able to get 6-7MB/s from it on a 100Mb network.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Any should work. Just need the samba packages, dhcpd pacakges, and netfilter packages.

Samba seems to work fine, but I haven't seen any real high performance SMB sharing from any platform.
 

harrkev

Senior member
May 10, 2004
659
0
71
What about NAT? That is kind of a big deal when using a computer to replace a cheapo broadband router.