LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 03-20-2009, 04:21 AM   #1
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Rep: Reputation: 30
Ubuntu firewall setup for home fileserver


Hi,

I have a computer I use as a fileserver to share legal music, movies and photos across my home network.

It consists of:

1x wireless router, wireless-n, firewall
1x HEADLESS SERVER, ethernet, UBUNTU SERVER LINUX, no firewall
1x desktop computer, ethernet, Fedora Linux, software firewall
1x laptop computer, wireless, Win XP, software firewall
1x desktop computer, wireless, Win XP, software firewall
1x desktop computer, wireless, Win XP, software firewall

Now the router has an SPI firewall on it already, it was a Linksys WRT150N but that died and I'm buying a different one from TP-LINK. But regardless, it will have a firewall on it.

So, should I put a firewall on the Ubuntu server? Is it just doubling up and not really adding any protection? I do use BitTorrent to download Linux distros using it as a downloading machine and may open up ports on it for DHT.

If so, using IPTABLES? Just putting a script in /etc/rc.d and allowing

SSH 22
SAMBA ??
BITTORRENT ??

Thanks for any thoughts or comments
 
Old 03-20-2009, 07:01 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
If you don't trust all of the users and potential users of the internal machines, then firewalling the server makes sense.

If you are using wireless and someone else can physically get within range, then it also makes sense.

If you are paranoid, you'll probably do it anyway, because it isn't that hard.
 
Old 03-20-2009, 07:19 PM   #3
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Original Poster
Rep: Reputation: 30
Thanks, I'll do some research on setting it up and get it working
 
Old 03-20-2009, 07:22 PM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Firewall is a usefull thing anyway, to protect server machine from the attacks in case of compromising some of the users' machines.
Open just a minimal set of really used external ports and only for addresses who are allowed to connect server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Running Ubuntu as fileserver: any caveats before sharing /home dirtree over local lan isync Linux - Server 1 03-19-2007 02:31 PM
Home Router Firewall Setup jrtayloriv Linux - Security 4 12-25-2006 07:19 PM
is this a bad idea ? fileserver/firewall... epoo Linux - Security 8 05-07-2005 03:44 PM
Fileserver setup stabile007 General 4 08-15-2004 08:43 PM
How to Setup Firewall for home network julesbrat Linux - Networking 1 05-19-2002 04:17 PM


All times are GMT -5. The time now is 12:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration