Sample Header Ad - 728x90

UFW does not block all incoming connections

0 votes
1 answer
160 views
I am running Debian 11 on a server with UFW. The defaults are set to Deny incoming and Allow outgoing and a specific ALLOW IN for SSH and HTTPS. However, I can still FTP into my server? I also see ports 25, 80, 143, 993 and 995 are open. Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip To Action From -- ------ ---- 22 ALLOW IN Anywhere 443 ALLOW IN Anywhere A ufw show listening shows a lot more ports than 22 and 443. On a different server, where I have UFW enabled too, I am not seeing this issue and only the ports I have opened are shown under listening.
Asked by CustomX (101 rep)
Jan 13, 2025, 10:03 AM
Last activity: Jan 13, 2025, 10:38 AM