Score:0

easy firewall ufw settings for a beginner coming from windows

jp flag

I am used to firewall on windows. everything is allowed and new apps have to ask for permission.

when I look at current connections in settings' firewall tab, only a few have program names associated with them. so I must allow connection by default.

how do I set my ufw like windows?

I am sure I need a few things like 1. allow things to be fine by default. 2. block malicious stuff like samba advertising you on public networks. 3. does programs open their own ports cause i heard ubuntu does not open ports by default.

if you read up to this point, you realize i know nothing about ufw, so please help.

EDIT: i use jammy. i use it as everyday desktop. I am okay with most apps running but I want to be able to block apps I know I dont trust connecting to internet and auto-block malicious stuff.

ar flag
[Edit your question](https://askubuntu.com/posts/1442392/edit) and add which version of Ubuntu you are using. What do you use it for? Do you use it to run any servers? If so which ones? If you use Ubuntu for "normal" desktop uses you don't need ufw. You can enable it with `sudo ufw enable` and have the peace of mind. If ufw blocks something search how to open the port that needs to be opened, based on which service is blocked.
Usermaxn avatar
jp flag
I edited it my comment
Usermaxn avatar
jp flag
yes mostly it does thanks
ar flag
Also take a look at [As a new Ubuntu desktop 18.04 LTS user, do I need to use ufw for a firewall or is iptables sufficient?](https://askubuntu.com/questions/1126196/as-a-new-ubuntu-desktop-18-04-lts-user-do-i-need-to-use-ufw-for-a-firewall-or-i)
Score:0
pm flag
wna

I indicate Gufw, the graphical interface of ufw because it is easy to configure and use, Gufw allows users to create rules, manage usage profiles for the tool, turn on or off the firewall, have access to logs and monitor the behavior of applications in real time, observing which ports each of them access to communicate with the Internet etc. https://gufw.org/

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.