FTP over implicit TLS control channel (989 is the data channel).
FTP over implicit TLS control channel (989 is the data channel).
Expose only to trusted sources. Encrypted, but needs a passive port range open as well; SFTP is simpler to firewall.
sudo ss -tlnp 'sport = :990'sudo lsof -nP -i :990sudo netstat -tlnp | grep ':990 'netstat -ano | findstr :990Get-NetTCPConnection -LocalPort 990 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 990Test-NetConnection HOST -Port 990Replace 203.0.113.10 with the address or network you trust. With ufw, make sure the default incoming policy is deny.
sudo ufw allow from 203.0.113.10 to any port 990 proto tcpsudo iptables -A INPUT -p tcp --dport 990 -s 203.0.113.10 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 990 -j DROPsudo nft add rule inet filter input ip saddr 203.0.113.10 tcp dport 990 accept
sudo nft add rule inet filter input tcp dport 990 dropNew-NetFirewallRule -DisplayName 'TCP 990 trusted' -Direction Inbound -Protocol TCP -LocalPort 990 -RemoteAddress 203.0.113.10 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.