Score:0

UFW - Secure Workstation

mx flag

Im typically using default rules:

sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable

I would like to close everything (outgoing) what i dont use. I would then do the following:

sudo ufw default deny incoming
sudo ufw default deny outgoing
sudo ufw enable

So right now everything is blocked. What im looking for is a logfile, which shows me what port has been blocked. Example i could open firefox and address google. initially it would not load, but after i open this specific port (HTTPS) for outgoing, it would work.

Is there a log where i can see what port has been blocked? Ideally in addition to what application is addressing it. Like in the example above, the log would say something like this:

UFW blocked firefox from using port 443 (outgoing)
FedKad avatar
cn flag
Are checking the log file `/var/log/ufw.log`?
user654789384 avatar
mx flag
Ya thanks. I was hoping for a bit more info than what the log can provide.
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.