Linux newbie looking for advise on a Home Network setup
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Linux newbie looking for advise on a Home Network setup
I recently built a debian server (Squeeze) to get some much needed linux practice. After tinkering with it for a few days I have decided to try and redo my home network using the server as a firewall/monitoring station.
Laptop XP - Desktop Win7 - Netbook Ubuntu - XBOX 360 - Playstaion 3
I want to know how this will effect the speed of the other computers on the network. I plan on running an FTP server on the Debian box and am also wondering if puting a DNS server on it will improve the speed.
I basically want to get the best performance and security out of this setup. My wifi router has a built in firewall so should I just continue to run the cable modem through it?
as of the swapspace and the memory, 2GB of Ram is enough for your server. And the swapspace is much too big. If you configure 256MB of Swapspace for a system with 2GB Ram it will hardly ever be used.
The rule that you need the double Ram as swapspace is from the old days. Nowadays you'll only need much swapspace if you have Laptop and want to suspend to Ram disk, in this case the swapspace must be at least as big as the physical Ram.
As of your network, just try it out. You will learn much with this setup.
Last edited by markush; 07-15-2011 at 04:13 PM.
Reason: made a mistake
Thanks Markus. Learning is the goal here so I am glad to hear you say that. I think its going to feel wierd making such a small swap file though. It made sense to have a big one beacause I always put a the same sized paige file on my windows systems. I can't wait to get home and try it out though. I am having alot of fun learning this stuff. Should of done it years ago.
So this debian server your putting up in front of your home router, is this going to be a bridged firewall or is it going to act as a router on it's own? I'm asking because if you put another PC in front of your router , that PC is going to grab your routable IP from the cable modem , and then you will have to enable nat/dhcp or ip forwarding on the debian server in order to allow regular network traffic from your internal LAN segment. I foresee this post ending up in the Network section later on as you try to get it working as a firewall.
Speaking from my experiences I do not use commodity routers anymore , I use desktop hardware and firewall distro's like Untangle, and PFSense, which work very very well for me and my purposes. There are many things to consider as you set this up, and I'm not saying you can not set it up that way , but it will require an additional network card on the debian box and it will have to have IP forwarding setup and routes. For me it was always easier just setting up a firewall distro and then adding another machine on a port forward. Your debian server has more hardware and will probably work better as a router/server than your current embedded router, and will provide you with more options, such as a caching dns server , a caching proxy server, and other benefits. I really suggest using Untagle as it has many many extra software you can use, and it's debian based it's self.
I guess it all comes down to what your really wanting to accomplish. Your current router will work fine and you could set this box up as a regular server, if your wanting to capture network traffic and firewall it further you could get another NIC in the debian box and set it up as a transparent bridge and just sniff all day.
My original idea was to have the server securing and monitoring my entire network. I already installed and extra network card and I planned to enable NAT/DHCP. The main reason I am doing this is for experience. My main question is can I do all of this on the one server (including an FTP server) and not have it slow my internet connection down too much. I can always put together more hardware but my wife will start to complain if too much of it is sitting in our living room.
I was doing some reading on Untangle and it looks like it can accomplish exactly what I what to do. I can also install it on my debian server. I think I am going to give it a try this weekend and see if I can't get this setup working. Thanks for the help. I will let you know how it goes.