Nmap

Hi, I’ve been facing this problem for a while and I didn’t found any solution.

When I want to nmap an ip with terminal (previously connected to openvpn) using the “nmap -sC -sV -p$ports 10.10.10.27” command, I get the following error back:
Note: Host seems down. If it is really up, but blocking our ping probes,try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.43 seconds.

Anyone can help me with the issue?

Thank you.

Could be:

  1. the host is really down
  2. you aren’t connected to the right network/vpn
  3. the host or network is filtering ICMP

To determine if it’s #1, eliminate #2 and #3.

To eliminate #2, on Linux, run the command ip route show and check to see if you have a route into the network, if you have a route into the network it in this case it would look something like 10.10.10.0/24 via 10.10.14.1 dev tun0

To eliminate #3, add the options -Pn to your Nmap command.

If you try tracert/traceroute you might get a better idea if things are working.