Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ok i am up with UBUNTU finally, and liked the distro! particularly ufw, synaptic and software manager.

as i am pretty blind newbie to linux, i need some help securing Ubuntu desktop. I've gone through documentation but barely understand any, went all over my head!!!

can any Ubuntu pro show or post ready available best proven rules for IPTABLES and UFW fo avoid various types of hacks and net-attacks?

thanks in advance LUBU

share|improve this question

To be honest, assuming you are using a desktop, the rules for ufw are sufficient (if not overkill). The rules are reviewed by the Ubuntu Security team.

sudo ufw enable

If you want a graphical front end, use gufw

sudo apt-get install gufw

Then search your menu for firewall.


Other then that , there is no single set of fool proof rules that applies for all users all the time. If the above command is insufficient we would need to know why they are insufficient in order to give better advice.

See also

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.