LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08:05 AM   #1
Garry | K | E
LQ Newbie
 
Registered: Nov 2009
Location: location, location.
Distribution: Deviant MATE
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, 08:37 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 08: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, 08:54 AM   #4
Garry | K | E
LQ Newbie
 
Registered: Nov 2009
Location: location, location.
Distribution: Deviant MATE
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 08:58 AM.
 
Old 11-28-2009, 09: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, 09:28 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 09:51 AM   #7
Garry | K | E
LQ Newbie
 
Registered: Nov 2009
Location: location, location.
Distribution: Deviant MATE
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 02:21 PM
Firewalls noteventime Linux - Software 4 03-26-2005 04:01 AM
no firewalls chrismiceli Linux - General 3 06-02-2003 09:43 PM
Linux Firewalls [iso firewalls] yoogie Linux - Networking 3 01-28-2002 06:56 PM
Firewalls Alejandro Aguilera Vega Linux - Networking 1 03-02-2001 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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