-   Linux - Security (
-   -   Firewall - Internet Security (

john-ellis 01-02-2009 05:25 AM

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.



win32sux 01-02-2009 05:37 AM

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.

FlGator81 01-02-2009 05:39 AM

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:

OlRoy 01-02-2009 06:07 AM

I don't think Firestarter is being maintained now. If you want a GUI, try GUFW.

win32sux 01-02-2009 06:10 AM


Originally Posted by OlRoy (Post 3394377)
I don't think Firestarter is being maintained now.

Thanks for the heads-up.

john-ellis 01-05-2009 01:41 AM

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.


FlGator81 01-05-2009 06:04 AM


Originally Posted by john-ellis (Post 3397523)
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:
Always keep the official documentation handy.

john-ellis 01-06-2009 01:45 AM

Thanks very much for all your help.


Morpholino 01-09-2009 12:32 PM

this is my first post...
....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
should I remove firestarter and ...follow the steps above for UFW?

All times are GMT -5. The time now is 06:29 PM.