LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-28-2009, 09:05 AM   #1
Garry | K | E
LQ Newbie
 
Registered: Nov 2009
Location: location, location.
Distribution: Ubuntu, Back Track 4
Posts: 15

Rep: Reputation: 1
Ubuntu and firewalls (?)


Hey,

I'd say I'm relatively new to Ubuntu but have been using it for a few weeks now and already learnt quite a bit about it but there's one thing I'm confused about which is the use of firewalls.

I read somewhere that the kernel provides support for iptables but I have no idea how to set these up and also, is it really relevant for Ubuntu to use a firewall?
I don't know if the kernel has any other online support like this or anything so I'm just wondering before finding a good firewall and installing it.

Could someone give me a little point in the right direction?

Thanks.
 
Old 11-28-2009, 09:37 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Every firewall is based on iptables.
You can configure iptables using a GUI
gufw, firestarter ...
http://www.roseindia.net/linux/linux-firewall-gui.shtml
 
Old 11-28-2009, 09:47 AM   #3
PresGas
Member
 
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Blog Entries: 5

Rep: Reputation: 18
Garry | K | E,

The very first page I would look at for Ubu and firewalls is here:
https://help.ubuntu.com/9.10/keeping.../firewall.html

Setting up a firewall is really dependent on what you are doing with your machine. Are you planning on running any services off of it like a webserver, fileserver, etc? If you are at home with a router and not planning on running anything out of your home, the default settings on most routers these days are okay at blocking most of the troubles out there.

If you are using a laptop and are mobile, that can complicate things. Fortunately the default settings with Ubu's uncomplicated firewall are pretty okay for most computers.

Hope this gets you started, but feel free to reply here if you have more questions or want clarification.
 
1 members found this post helpful.
Old 11-28-2009, 09:54 AM   #4
Garry | K | E
LQ Newbie
 
Registered: Nov 2009
Location: location, location.
Distribution: Ubuntu, Back Track 4
Posts: 15

Original Poster
Rep: Reputation: 1
Hey. Thanks for your replies but I have a couple questions.

Quote:
Originally Posted by PresGas View Post

If you are using a laptop and are mobile, that can complicate things.
Yeah, I am using a Toshiba Satellite laptop and I am connected to different AP's here and there most of the time so I guess I rely mainly on the settings of the routers I'm using.

What do you mean it complicate things?


Thanks for your help.

Last edited by Garry | K | E; 11-28-2009 at 09:58 AM.
 
Old 11-28-2009, 10:25 AM   #5
PresGas
Member
 
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Blog Entries: 5

Rep: Reputation: 18
Garry | K | E,

You kinda answered your own question really. Different wireless access points will pass out different IP addresses to your lappy, etc. In addition, laptops have the wireless card as well as the ethernet port to worry about instead of just the ethernet port on a desktop. So if you were to decide to go hard core and script your own iptables startup, for example, you could cause connection issues from one access point to another or switching from wireless to ethernet, etc.

Since you said that you are relatively new to Ubu, uncomplicated firewall would be a great solution for you. By default it will not block outgoing connections (you requesting a website), but will not allow other machines to connect to you.

Hope that clarified!
 
Old 11-28-2009, 10:28 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Different wireless access points will pass out different IP addresses to your lappy, etc.
Iptables will use the interface, not the IP
eq wlan0 or eth0, so it doesn't matter if the ip changes
 
Old 11-28-2009, 10:51 AM   #7
Garry | K | E
LQ Newbie
 
Registered: Nov 2009
Location: location, location.
Distribution: Ubuntu, Back Track 4
Posts: 15

Original Poster
Rep: Reputation: 1
Okay. Thanks for your replies and help about this. It's really helped.
 
  


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
Software Firewalls VS Hardware Firewalls metallica1973 Linux - Security 7 03-17-2006 03:21 PM
Firewalls noteventime Linux - Software 4 03-26-2005 05:01 AM
no firewalls chrismiceli Linux - General 3 06-02-2003 10:43 PM
Linux Firewalls [iso firewalls] yoogie Linux - Networking 3 01-28-2002 07:56 PM
Firewalls Alejandro Aguilera Vega Linux - Networking 1 03-02-2001 04:52 PM


All times are GMT -5. The time now is 11:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration