LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-15-2011, 01:55 PM   #1
robertted
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Rep: Reputation: Disabled
Help with a home network


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.


my plan

Cable Modem
|
Debian Server
|
wifi router
|
Laptop XP - Desktop Win7 - Netbook Ubuntu - XBOX 360 - Playstaion 3

I want to know how this will effect the internet 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?

The specs on the Debian Server sre:

Pentium D 2.8 GHz
2 Gb RAM
4 Gb swap file
80 Gb HDD (root)
1 Tb HDD (data)

I am thinking of upping the RAM to 4 Gb and changing the swap file to 8 Gb. Not sure if this will help much but it's worth a shot scince I already have the parts.

I apprieciate any help or ideas.

Thank you
 
Old 07-15-2011, 02:13 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
Why do you put the Debian Server between wifi router and Cable Modem? Your firewall in Wifi router can't protect Debian Server.
 
Old 07-15-2011, 02:29 PM   #3
robertted
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
I was going to put a firewall on the server. I figured if all the traffic was going through the server it would be easier to monitor.
 
Old 07-15-2011, 03:14 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Quote:
Originally Posted by robertted View Post
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.


my plan

Cable Modem
|
Debian Server
|
wifi router
|
Laptop XP - Desktop Win7 - Netbook Ubuntu - XBOX 360 - Playstaion 3

I want to know how this will effect the internet 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?

The specs on the Debian Server sre:

Pentium D 2.8 GHz
2 Gb RAM
4 Gb swap file
80 Gb HDD (root)
1 Tb HDD (data)

I am thinking of upping the RAM to 4 Gb and changing the swap file to 8 Gb. Not sure if this will help much but it's worth a shot scince I already have the parts.

I apprieciate any help or ideas.

Thank you
Hi there,

As you said that you are planning to configure FTP server and DNS server on your Debian system then 4 GB RAM will be good enough and yes it will improve your browsing speed little bit as your DNS server will cache the websites browsed by the client workstation. Increasing SWAP is of no use because 4 GB SWAP is more than enough for the setup.

I would also suggest using a firewall between the Debian server and the modem as configuring firewall on the server that is hosting the services is not a good idea. The reason is because of the services you will open up the ports on the server (which you have to indeed) but without a firewall it makes your server vulnerable on public network. Putting a firewall in between makes it more secure and more scrutinized.

Last edited by T3RM1NVT0R; 07-15-2011 at 03:15 PM.
 
Old 07-15-2011, 03:24 PM   #5
robertted
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
T3RM1NVT0R,

If that is the case I will keep the router between the modem and the server. If I do this can I still monitor and control all the traffic going through the router using the server. Bear with me I am kind of new to this.

Thanks
 
Old 07-15-2011, 03:40 PM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

As I can understand from what you said is putting a router between the server and the modem and configuring acl on the router. If that is the case then you can control the traffic going from client to router (via Debian server). Once the packet reached router you will not be able to control or monitor it.

In this setup you will be able to control/monitor the traffic going from client to router using your Debian server but once the packet reaches router you will have to rely on the acl's configured on the router. If you want to monitor the traffic passing through router then you have to put a sniffer between the router and the modem.

I hope this helps.
 
Old 09-04-2011, 01:49 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Are you doing this for the practice, or for production?

If the former, Good show!
If the latter, consider a firewall distro like IPCop.

W/ IPCop (& others) you can add a 3rd NIC & use it for a "Blue" network specifically for isolating your WiFi access point.
 
Old 09-07-2011, 04:07 PM   #8
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
Yes you can still monitor traffic through your server. The server becomes your gateway for all of the devices within your local network, the server will then pass the packets along to your router, the router will then pass the packets to the modem.
 
Old 09-08-2011, 03:28 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
"effect the internet speed "

Should it be affect?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network printer for small home network? Peufelon Linux - Networking 3 06-10-2008 10:56 PM
Is this a secure way to set up a home network (with network storage) ? phildacey Linux - Security 2 08-24-2006 04:25 AM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Home Network Similar to Work Network Boffy Linux - Networking 2 08-05-2004 06:52 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:05 AM.

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