Nmap

From Bonus Bits
Jump to: navigation, search

Description

This article gives references to useful syntax related to using nmap to test network connections.


Scan All Ports for IP

All Ports and Protocols

nmap 192.168.1.1

All Ports and Only TCP

nmap -sT 192.168.1.1

All Ports and Only UDP

nmap -sU 192.168.1.1


Single Port

nmap -p 22 192.168.1.1


Port Range

nmap -p 22-3389 192.168.1.1


Related Articles