How to check all open ports on linux machine and block unused ports?

netstat -t
#nmap -v localhost for tcp
#nmap -sU localhost for udp

#netstat -tulp
or
#netstat -tulpn

to verfy the open ports

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.