You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


NMAP

> nmap -p <start_port>-<endport> <ip>

Example:

> nmap -p 30000-32000 127.0.0.1


Starting Nmap 7.01 ( https://nmap.org ) at 2019-04-23 21:10 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00017s latency).
Not shown: 2000 closed ports
PORT      STATE    SERVICE
30500/tcp filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 1.24 seconds




> nmap -p 30000-32000 10.250.220.238


Starting Nmap 7.01 ( https://nmap.org ) at 2019-04-23 21:11 UTC
Nmap scan report for kubernetes-devtest-worker1 (10.250.220.238)
Host is up (0.00017s latency).
Not shown: 2000 closed ports
PORT      STATE SERVICE
30500/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds


IPTables


  • No labels