{"id":10224,"date":"2023-08-08T11:21:00","date_gmt":"2023-08-08T16:21:00","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=10224"},"modified":"2023-08-08T11:21:23","modified_gmt":"2023-08-08T16:21:23","slug":"verifying-connectivity-from-locked-down-windows-desktop-or-server","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=10224","title":{"rendered":"Verifying Connectivity From Locked Down Windows Desktop or Server"},"content":{"rendered":"<p>We frequently encounter individuals who cannot use <em>something<\/em> from their server or desktop &#8212; but their IT group has Windows locked down so they cannot just telnet to the destination on the port and check if it&#8217;s connecting. Windows doesn&#8217;t have a whole lot of useful tools of its own. Fortunately, I&#8217;ve found that nmap.org publishes a local install zip file for Windows.<\/p>\n<p>Download latest Win32 zip file from <a class=\"fui-Link ___1eya986 f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1x7u7e9 f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/nmap.org\/dist\/\" href=\"https:\/\/nmap.org\/dist\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link https:\/\/nmap.org\/dist\/\">https:\/\/nmap.org\/dist\/<\/a> &#8212; on 8\/8\/2023, that is <a class=\"fui-Link ___1eya986 f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1x7u7e9 f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/nmap.org\/dist\/nmap-7.92-win32.zip\" href=\"https:\/\/nmap.org\/dist\/nmap-7.92-win32.zip\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link https:\/\/nmap.org\/dist\/nmap-7.92-win32.zip\">https:\/\/nmap.org\/dist\/nmap-7.92-win32.zip<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Extract the zip file contents somewhere (I use tmp, right in downloads works, whatever)<br \/>\nOpen command prompt and change directory (cd) <em>into the folder where nmap was extracted<\/em> &#8212; e.g. cd \/d c:\\tmp\\nmap-7.92<\/p>\n<p>&#8212; A quick trick for opening a command prompt to a directory location: If you have a file explorer window open to the location, click into the header where the file path is shown and remove the text that appears there<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10225 size-full\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation1.png\" alt=\"\" width=\"1005\" height=\"266\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation1.png 1005w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation1-300x79.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation1-768x203.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation1-750x199.png 750w\" sizes=\"auto, (max-width: 1005px) 100vw, 1005px\" \/><\/a><\/p>\n<p>Type <em>cmd<\/em> and hit enter<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10226\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation2.png\" alt=\"\" width=\"918\" height=\"237\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation2.png 918w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation2-300x77.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation2-768x198.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation2-750x194.png 750w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><\/a><\/p>\n<p>And voila &#8212; a command prompt opened to the same location you were viewing<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10227\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation3.png\" alt=\"\" width=\"646\" height=\"179\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation3.png 646w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/Windows-OpenCommandPromptToLocation3-300x83.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/a><\/p>\n<p>In the command prompt, run an map command to test a specific port (-p) and host. Since some hosts do not return ICMP requests, I also include -P0 instructing nmap <em>not<\/em> to attempt pinging the host first. This example verifies we have connectivity to google.com on port 443 (https)<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10228\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample.png\" alt=\"\" width=\"1100\" height=\"303\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample.png 1100w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample-300x83.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample-1024x282.png 1024w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample-768x212.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/NmapExample-750x207.png 750w\" sizes=\"auto, (max-width: 1100px) 100vw, 1100px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We frequently encounter individuals who cannot use something from their server or desktop &#8212; but their IT group has Windows locked down so they cannot just telnet to the destination on the port and check if it&#8217;s connecting. Windows doesn&#8217;t have a whole lot of useful tools of its own. Fortunately, I&#8217;ve found that nmap.org &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[1888,1629,136],"class_list":["post-10224","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-connectivity","tag-nmap","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10224"}],"version-history":[{"count":3,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10224\/revisions"}],"predecessor-version":[{"id":10231,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10224\/revisions\/10231"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}