Hamsandwich Posted November 23, 2012 Share Posted November 23, 2012 Hi wise ones, Had a question. Is there a way to use nmap (or something else), to see which ports are available between hosts in a list or ip range. Note -- I am not talking about ports available from the perspective of a single host -- I mean between the actual hosts in the list themselves. For an example, I have an environment that has an apache proxy, a couple tomcat boxes, a couple mysql boxes. I'm looking for a map of the ports between these hosts... one-direction, 2-direction, etc. For example, is the proxy talking to the the tomcats? If so, which port? And the tomcats -- which ports do they access the proxy (if at all)? I have access to each host -- I am looking for a quick means to get a summary of port access based on firewall rules --- without having access to the firewall itself. I'm basically noticing some issues with some of my applications, and I want a summary of which ports each host can access within the environment, so I can have our network team modify the firewall rules. I'm new to nmap... but other than logging into each host, and running nmap from the host in question to look at each other host in the list, what are my options? I was figuring on doing a nested for loop and running nmap that way... but that seemed lame. Was hoping for something more out of the box. Seems like netstat and lsof -i also provide good info -- but I am looking for best approaches. Hope my question made sense. Thanks for any assistance! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.