VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
2 Replies Last post: Jul 10, 2009 2:49 AM by galibai  

Diff output from Namp and esxcfg-firewall cmd posted: Jul 9, 2009 3:01 PM

Click to view galibai's profile Enthusiast 80 posts since
May 11, 2009

Hi,

I am trying to understand the esxcfg-firewall cmd and the namp output.

esxcfg-firewall -q cmd output is

Opened ports:
sshClient : port 22 tcp.in
snmp : port 161 tcp.in tcp.out udp.in udp.out
ftpClient : port 21 tcp.in
snmptrap : port 162 udp.in udp.out
dynamicupdates : port 8081 tcp.out
OpenManageRequest : port 1311 tcp.in

When, I use nmap to scan the same server

Not shown: 987 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
199/tcp open smux
443/tcp open https
902/tcp open iss-realsecure
903/tcp open iss-console-mgr
1311/tcp open rxmon
5988/tcp open unknown
5989/tcp open unknown
8009/tcp open ajp13
8042/tcp open unknown
8045/tcp open unknown
8080/tcp open http-proxy

Why is the esxcfg-firewall now showing the ports, that is shwon by nmap ?

Thanks

Re: Diff output from Namp and esxcfg-firewall cmd

1. Jul 9, 2009 11:38 PM in response to: galibai
Click to view PaScKM's profile Enthusiast 26 posts since
Dec 5, 2008

nmap shows only ports which are open. Closed/Outgoing Ports are not shown.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities