LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-02-2009, 05:25 AM   #1
john-ellis
LQ Newbie
 
Registered: Mar 2007
Location: UK
Distribution: Windows Vista
Posts: 8

Rep: Reputation: 0
Firewall - Internet Security


Hi All,

It is said that Linux users do not have to worry so much about Virusus than Windows users however is there a firewall or some kind of internet security I can use with Linux or more to the point Ubuntu 8.10.

Thanks

John
 
Old 01-02-2009, 05:37 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
All GNU/Linux distros come with the Netfilter/iptables firewall system. People new to GNU/Linux will usually choose to use a front-end, though, in order to simplify things. Ubuntu comes with a front-end called UFW. There's other front-ends available too, some are command-line driven, while others GUI. Examples: Firestarter, Guarddog, Shorewall, etc.

Last edited by win32sux; 01-02-2009 at 05:40 AM.
 
Old 01-02-2009, 05:39 AM   #3
FlGator81
Member
 
Registered: Nov 2008
Location: Baltimore
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 21
You can use UFW (Uncomplicated Firewall). Bring up a terminal and type:

sudo ufw status

That will tell you whether or not UFW is enabled. If it isn't, type:

sudo ufw enable

That enables UFW with no further configuration required.

Another alternative is Firestarter, a graphical configuration tool that's very easy to use. Just go into Synaptic Package Manager, download and install Firestarter, and run the setup wizard. I think Firestarter's default configuration is more than sufficient, so once it is set up you should be good to go.

Regardless of which tool you choose, you can test your firewall at Shields Up: https://www.grc.com/x/ne.dll?bh0bkyd2
 
Old 01-02-2009, 06:07 AM   #4
OlRoy
Member
 
Registered: Dec 2002
Posts: 304

Rep: Reputation: 86
I don't think Firestarter is being maintained now. If you want a GUI, try GUFW.
 
Old 01-02-2009, 06:10 AM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by OlRoy View Post
I don't think Firestarter is being maintained now.
Thanks for the heads-up.
 
Old 01-05-2009, 01:41 AM   #6
john-ellis
LQ Newbie
 
Registered: Mar 2007
Location: UK
Distribution: Windows Vista
Posts: 8

Original Poster
Rep: Reputation: 0
configuring the firewall

Hi All,

Ok I enabled the UFW firewall via terminal, how do I configure it, say it is blocking a program or something like that.

Thanks again.

John
 
Old 01-05-2009, 06:04 AM   #7
FlGator81
Member
 
Registered: Nov 2008
Location: Baltimore
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 21
Quote:
Originally Posted by john-ellis View Post
Ok I enabled the UFW firewall via terminal, how do I configure it, say it is blocking a program or something like that.
Type "man ufw" in the terminal (no quotes) and it will explain how you can configure it; this is actually called "writing rules" for the firewall. You will have to specify a port (53, 80, etc) and a protocol (TCP, UDP). The man page will lay out the format.

Keep in mind that the firewall will allow connections by default unless you told it not to. To make it deny by default, type "ufw default deny" BEFORE enabling the firewall. If you didn't do that, just disable it, set the default to deny, and then re-enable it.

And don't forget to use this: https://help.ubuntu.com/community/Un...d_Firewall_ufw
Always keep the official documentation handy.
 
Old 01-06-2009, 01:45 AM   #8
john-ellis
LQ Newbie
 
Registered: Mar 2007
Location: UK
Distribution: Windows Vista
Posts: 8

Original Poster
Rep: Reputation: 0
Talking Thanks

Thanks very much for all your help.

John
 
Old 01-09-2009, 12:32 PM   #9
Morpholino
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
hi
this is my first post...
ummmm
....I am really getting started with ubuntu 8.10...
and I dont know anything about...ethernet or TCP, UDP, eth0, wlan0, DHCP and all that stuff....
(about that...someone knows where can I find a book or a guide or something??)
....what i got is....
...a wireless connection without password in my house
and a wireless connection at my school with password (...the next week i'll check that)....and i have downloaded firestarter from the synaptic package manager...
...but i think i am unable to configure it correctly...so.........
should I remove firestarter and ...follow the steps above for UFW?
......
thanks!
 
  


Reply

Tags
firewall


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
Internet security/Firewall for linux joshd1982 Linux - Newbie 4 01-29-2006 06:19 PM
HELP HELP -> Firewall and security Kamikazee Linux - Security 3 07-05-2005 01:56 AM
Need help with firewall security ... linuxbee Linux - Networking 0 08-11-2003 07:39 AM
Internet security - firewall & anti virus bobirt Linux - Security 2 12-20-2001 08:45 AM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration