Debian, how to list open ports and firewall configuration

If you want a list of all open ports on your pc, you can type

netstat -tulpn

Omit the “n” if you don’t want to solve addresses

For firewall configuration

iptables -nL

“n” has also the scope

Annunci