I want to set up ufw on my server, but something wrong here. Even when I trying to block 22 port ssh still working and nothing changing. I have ufw enabled, but nothing works.
36 comments
Could you post the output of ufw status verbose ?
can you check it in my previous answers, please?
...........
What entitlement, I can't
UFW, by default, blocks all incoming requests. This means that SSH (port 22) is blocked already. Then, if you need to, whitelist (ALLOW) ports that you want to expose to the network. For example, I have ports 1714-1764 whitelisted for KDE Connect and everything else is blocked.
Pretty much nobody can help you with the information you provided there.
Minimum required is going to be a 'ufw status' output. The whole output, not an edited partial output.
So you want to block port 22? Yet the rule you added allows access, or am I misunderstanding?
You probably need to be DENY instead of ALLOW if that's what you're wanting to accomplish.
Let's see the rule(s) then
Make sure you're applying them to the active profile.
Could you post the output of
ufw status verbose
?can you check it in my previous answers, please?
...........
What entitlement, I can't