I have set my firewall ufw
/ firewall
rules as follows:
Default: deny (incoming), allow (outgoing), disabled (routed)
To Action From
-- ------ ----
OpenSSH (22/tcp) ALLOW Anywhere
Nginx Full (80,443/tcp) ALLOW Anywhere
But if I make a Zenmap
/nmap
scan it shows me the following ports are open (or also closed
):
Why is ufw
showing me a different result if by defauls all ports are closed except ssh(22) and nginx (80, 443) and why are two closed
ports shown? shouldn't all other closed ports be also shown then?