PDA

View Full Version : [ubuntu] firewall



kirthi
July 14th, 2011, 06:39 PM
Windows have many firewalls to prevent the system. But Ubuntu have few. Why is it so? Is it not needed to prevent Ubuntu or if it is prevented?

dFlyer
July 14th, 2011, 06:43 PM
Ubuntu is more secure than windows. Linux was built as a multi-tasking, multi-user networking OS. Windows was built as a single user not networking OS that had networking added as an after thought.

conradin
July 14th, 2011, 06:44 PM
You are mistaken. Both have many but all you need is one.
ubuntu has a nice one. Enable it with:
sudo ufw enable
sudo ufw logging on

kirthi
July 14th, 2011, 06:59 PM
ufw is a standard firewall configuration for Ubuntu. But in what ways does it help to protect my system?

bodhi.zazen
July 14th, 2011, 07:27 PM
ufw is a standard firewall configuration for Ubuntu. But in what ways does it help to protect my system?

Sounds as if you are new to both Ubuntu and Firewalls.

By default, there are no sigificant open ports, so a firewall adds very little, if anything, to a default installation.

Firewalls add to security by restricting access to open ports / servers.

I suggest you read the security sticky.

For additional information see :

https://wiki.ubuntu.com/SecurityTeam/Policies

https://wiki.ubuntu.com/Security/Features

http://bodhizazen.net/Tutorials/iptables

Lars Noodén
July 14th, 2011, 07:29 PM
ufw is a standard firewall configuration for Ubuntu. But in what ways does it help to protect my system?

It uses the packet filter (firewall) IPTables to filter certain ports, either inbound or outbound. UFW is just a front-end UI for IPTables.

It's not a big deal because the default on Ubuntu is to not have services listening. But it's there if you want to play with it.