How do I check what ports are open on the filter?


This article applies to:

  • WF/WFR/SR/ER
  • Basically any Linux box you need to check a port

Question:

  • How do I check what ports are open on the filter?

Reply:

There are two commands you can use to check if there is a port available to the unix box in question.

Specific port:
#     netstat -an|grep x|grep LISTEN

(Substitute x after grep for the port you want to check)

Check all open ports:
#     nmap -sS -O 127.0.0.1

 

Notes:

Optional.


Last Modified 2/16/2012.
https://support.trustwave.com/kb/KnowledgebaseArticle14495.aspx