Welcome to the most active Linux Forum on the web.
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 04-07-2008, 12:08 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 22

Rep: Reputation: 15
firewall for linux?

i am new to linux and am trying to switch to linux
i have heard that it is secure etc etc
so i was wondering that do i need a firewall or an antivirus prog for linux?

Old 04-07-2008, 12:12 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I use both firewall and antivirus. Bascially the firewall is already built in to linux. It's called IPTables. You can use a graphical configuration tool like Guarddog or Firestarter to set it up the way you want.

I use clamAV for antivirus. It scans my files for Windows viruses so I don't pass them on to friends or family. The virus protection isn't really for my linux machine because there's very few (and no effective) viruses written to infect linux computers. It's just to avoid being a carrier of Windows viruses.
Old 04-07-2008, 01:59 PM   #3
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
When my DSL modem arrived there was already a Firewall running set by my provider ,But I as a user can change it according to own wishes Second indeed Linux has a firewall to.Some people said do not use to firewall because it can give problems.
Second I run a virus scanner for my linux distros just to be sure and also for my windows XP

all the best
Old 04-08-2008, 12:37 AM   #4
LQ Newbie
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
thanks for the info

Last edited by chd_lad; 04-08-2008 at 12:50 AM.
Old 04-08-2008, 02:14 AM   #5
LQ Newbie
Registered: Jan 2007
Location: Northern California
Distribution: Kubuntu 8.10
Posts: 26

Rep: Reputation: 15
Antivirus is a waste of CPU power. Even on Windows it's no more than maybe 60% effective, so it hardly makes you safe. On Linux, as far as I know the antivirus scans only actually scan for windows viruses -- they're just for mail servers relaying to windows. So if you're not running a mail server it's doing absolutely nothing.

Just be sure you keep your packages up to date so that you're applying any security fixes reasonably quickly, and there's nothing to worry about.

In a default configuration no firewall is needed, but it's always possilbe that some program will open up a vulerability, so a hardware firewall (as in a DSL modem) is a good extra layer of protection. A software firewall may be less effective but it'd help too.
Old 04-08-2008, 09:22 AM   #6
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
If you are going to be connected to the net I would strongly advise setting up your firewall. Most distros will come with iptables turned on (firewalled) by default. You do need to tune it for your specific needs. Running without a firewall is asking for trouble. You can run over to sites like sheilds up ( to see how exposed you are to the net.

While installing a virus scanner is not necessary right now, it will be at some point. ClamAV is pretty good but rather than install it I just run over to trend micro's site once a month (or once a few months) and sweep the entire system. You will be amazed at the number of windows viri(harmless on linux) one picks up.


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
BSD Firewall vs Linux Firewall ? rootlinux Linux - Security 5 08-29-2007 08:38 AM
Linux Firewall Vs Firewall Appliance depam Linux - Security 4 11-20-2006 02:55 PM
how to m$ win client+firewall to linux sshd and use linux to access the M$ computer c_mitulescu Linux - Networking 7 05-14-2004 01:56 PM > Forums > Linux Forums > Linux - Newbie

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