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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-28-2009, 08:05 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Location: location, location.
Distribution: Deviant MATE
Posts: 15
Rep:
|
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.
|
|
|
11-28-2009, 08:47 AM
|
#3
|
Member
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Rep:
|
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.
|
11-28-2009, 08:54 AM
|
#4
|
LQ Newbie
Registered: Nov 2009
Location: location, location.
Distribution: Deviant MATE
Posts: 15
Original Poster
Rep:
|
Hey. Thanks for your replies but I have a couple questions.
Quote:
Originally Posted by PresGas
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.
|
|
|
11-28-2009, 09:25 AM
|
#5
|
Member
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Rep:
|
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!
|
|
|
11-28-2009, 09:28 AM
|
#6
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
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
|
|
|
11-28-2009, 09:51 AM
|
#7
|
LQ Newbie
Registered: Nov 2009
Location: location, location.
Distribution: Deviant MATE
Posts: 15
Original Poster
Rep:
|
Okay. Thanks for your replies and help about this. It's really helped.
|
|
|
All times are GMT -5. The time now is 09:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|