Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 30
Ubuntu firewall setup for home fileserver


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

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

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
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, 06:19 PM   #3
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, 06:22 PM   #4
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.


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 01:31 PM
Home Router Firewall Setup jrtayloriv Linux - Security 4 12-25-2006 06:19 PM
is this a bad idea ? fileserver/firewall... epoo Linux - Security 8 05-07-2005 02:44 PM
Fileserver setup stabile007 General 4 08-15-2004 07:43 PM
How to Setup Firewall for home network julesbrat Linux - Networking 1 05-19-2002 03:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration