LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-09-2006, 04:51 PM   #1
mawkish
LQ Newbie
 
Registered: May 2006
Location: Stockholm
Posts: 4

Rep: Reputation: 0
Switch or router? Need the firewall?


I want to replace my old 10 Mbit hub with something faster. Either with a switch or with a router. If a choose a switch I get more ports for the money but no built in firewall.

I have a home network with a couple of Windows boxes and a Debian box. Each Windows computer has a software firewall installed, which seems to work nicely. I have done nothing to improve the security for my Debian installation.
My ISP is generous with IPs.

To keep it simple and cheap, and to get some extra ports, I would like to choose a switch. But is it worth to go for a router with built in firewall? Do I really need it for my Debian? If so, would it be as good to have a sw firewall (setting up IP tables?).

Help me with answering in noobish, please
 
Old 05-09-2006, 05:48 PM   #2
darthmandeep
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: Disabled
In my humble opinion, it is always wise to run a software firewall on a computer that has a network or internet connection, regardless of its operating system.

Firestarter is a quick and easy GUI to set up iptables. I highly suggest installing it.

If your ISP provides multiple net-accessible IPs and you have no need for a NAT router, just get a gigabit switch.
 
Old 05-09-2006, 06:38 PM   #3
Amuro-Ray2020
Member
 
Registered: Aug 2004
Location: Arizona
Distribution: Linux Mint
Posts: 81

Rep: Reputation: 15
If this is for home usage, wouldn't a router/switch/AP combo from maybe Linksys or D-Link fit your needs? Unless you're doing this in a business of some sort, I don't know what having a seperate device for a router and a switch would accomplish for you. Even the cheap combo routers would be faster and more efficient than what you're using now.
 
Old 05-10-2006, 03:41 AM   #4
mawkish
LQ Newbie
 
Registered: May 2006
Location: Stockholm
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your opinions guys!

Quote:
Originally Posted by Amuro-Ray2020
...I don't know what having a seperate device for a router and a switch would accomplish for you.
I was not thinking of having both a switch and a router, just one of them. My ISP throws as many IPs at me as I want so IPs wouldn't be a reason for me to get router. I was more thinking of the built in firewall that most routers offer. Can I live without it when it comes to my Debian box? Would it be as good to buy the cheaper switch and just install a software firewall?
 
Old 05-10-2006, 04:14 AM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
If you've got a few boxes lying around, set one up as a gateway and run a firewall on that. That's what I have here, works a treat. ISP -> gateway/firewall -> switch -> LAN
 
Old 05-10-2006, 07:03 AM   #6
subgenius777
LQ Newbie
 
Registered: Mar 2006
Location: Atlanta,Georgia USA
Distribution: Mandriva 2010
Posts: 15

Rep: Reputation: 1
switch or router?

I have an identical setup:small office LAN with two XPs and a Debian based distro. My connection is EarthLink dsl. The gateway is a zoomx5 modem/router with configurable firewall. Linksys and others have similar products. They are only in the $80-$90 range, easy to set up and worth every penny when you consider the miserable alternatives. I also have a firewall on the Linux laptop which you might have to configure or the router may be denied access but if you have the right firewall you won't need advanced programming skills.I am still a newbie myself compared to these Linux warriors and I don't have the time to fix an infected machine. The more popular Linux becomes the more it will become the target of the darkside so unless you like to live dangerously use a firewalled router and configure it carefully.
 
Old 05-10-2006, 12:02 PM   #7
coolb
Member
 
Registered: Apr 2006
Location: Cape Town, South Africa
Distribution: Gentoo 2006.1(2.6.17-gentoo-r7)
Posts: 222

Rep: Reputation: 30
If I was you I would make use of IPtables for a network firewall...

You can also make it host based with IPkungfu if you cant figure it out.
 
Old 05-10-2006, 02:11 PM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
My suggestion Get a router and use the software firewalls on each machine as backup. Set up the router, NAT firewall with whatever open ports you need, then control the open ports on each individual maching with the software firewall.

I am assuming you're not looking for extreme security here, only REASONABLE security. Firewall interfaces, like Kerio or ZoneAlarm on Windows, and Firestarter or Guarddog on Linux are very easy to manage, and quite serviceable.

Messing around directly with iptables is a sure prescription for insanity unless it's something you really need to do.
 
  


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
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
linux as router/gateway/firewall to dsl-router sjoerdvvu Linux - Networking 2 02-24-2006 10:56 PM
Mandrake Firewall/router networked to US Robotics 8000A router jrzplace Linux - Networking 0 11-17-2003 04:48 PM
Firewall between router and external switch is it possible? mylesridgely Linux - Security 5 08-11-2003 11:29 AM
Firewall between router and external switch is it possible? mylesridgely Linux - Networking 3 08-08-2003 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:58 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