I'm new to linux and I use ufw
to open / close ports on my Debian 11 VPS.
If I use ufw stauts verbose
I get the following list of open ports:
To Action From
-- ------ ----
25565 ALLOW IN Anywhere
21 ALLOW IN Anywhere
22 ALLOW IN Anywhere
8123 ALLOW IN Anywhere
25565 (v6) ALLOW IN Anywhere (v6)
21 (v6) ALLOW IN Anywhere (v6)
22 (v6) ALLOW IN Anywhere (v6)
8123 (v6) ALLOW IN Anywhere (v6)
When a friend of mine executed nmap -p- server_ip -sV -Pn
he could see the SMTP port (25) being open as well. Ufw is not showing that the SMTP port is open.
All of the ports listed above should be open 21 / 22 for SFTP and SSH 25565 for a minecraft server 8123 for a plugin on the server which runs a website (map of the server)
Any ideas? Is there something I understood wrong maybe? Maybe something to do with that the server is a VPS?