I not sure that
ss is the tool the OP is looking for.
ss is similar to
netstat, giving information on the state of sockets.
However, when the OP asks:
Quote:
Is there a way to find out all the ports open between source IP & destination IP in any way ?
It's not clear to me the OP is looking for
netstat-like information, which can be read from a host which we have access to
ss and
netstat (or even
lsof) , but external to the hosts.
Let's see what the OP really wants