Nmap Development mailing list archives
Re: portmapping issue
From: vineeths () mirafra com
Date: Wed, 30 Jul 2014 20:25:12 +0530
Hello, On Thu, Jul 24, 2014 at 11:49:17AM +0530, vineeths () mirafra com wrote:I ran the script with my local Ip. But I am getting the state of my port as closed in the output of script .If you mean that you are running nmap targetting your own machine, then that's what you are doing wrong. You are supposed to run the script against a NAT-PMP router. It would be helpful if you could provide the exact command you are running. -- George Chatzisofroniou
Hi George, I am very much grateful to you for your reply. As you said I changed the ip of my machine to router's ip. Now the state of the output is : filtered. I tried to connect to my machine from different network, but am still unable to connect. Below are the different commands I have used and the output I got, please have a look and let me know where I am missing. sudo nmap -sS -p 5351 123.237.220.36 --script nat-pmp-mapport --script-args='op=map,pubport=8091,privport=8091,protocol=tcp' Starting Nmap 6.46 ( http://nmap.org ) at 2014-07-30 20:15 IST Nmap scan report for 123.237.220.36 Host is up (0.0016s latency). PORT STATE SERVICE 5351/tcp filtered unknown Nmap done: 1 IP address (1 host up) scanned in 13.73 seconds -------------------------------------------------------------------------- sudo nmap -sU -p 5351 123.237.220.36 --script nat-pmp-mapport --script-args='op=map,pubport=8091,privport=8091,protocol=tcp' Starting Nmap 6.46 ( http://nmap.org ) at 2014-07-30 20:15 IST Nmap scan report for 123.237.220.36 Host is up (0.0016s latency). PORT STATE SERVICE 5351/tcp filtered unknown Nmap done: 1 IP address (1 host up) scanned in 13.73 seconds ------------------------------------------------------------------------ sudo nmap -sS -p 5351 192.168.1.1 --script nat-pmp-mapport --script-args='op=map,pubport=8091,privport=8091,protocol=tcp' Starting Nmap 6.46 ( http://nmap.org ) at 2014-07-30 20:20 IST Nmap scan report for 192.168.1.1 Host is up (0.00095s latency). PORT STATE SERVICE 5351/tcp closed unknown MAC Address: 00:24:B2:5D:92:FF (Netgear) Nmap done: 1 IP address (1 host up) scanned in 0.65 seconds -------------------------------------------------------------------------- sudo nmap -sU -p 5351 192.168.1.1 --script nat-pmp-mapport --script-args='op=map,pubport=8091,privport=8091,protocol=tcp' Starting Nmap 6.46 ( http://nmap.org ) at 2014-07-30 20:21 IST Nmap scan report for 192.168.1.1 Host is up (0.0010s latency). PORT STATE SERVICE 5351/udp open|filtered nat-pmp | nat-pmp-mapport: |_ ERROR: Failed to retrieve WAN IP MAC Address: 00:24:B2:5D:92:FF (Netgear) Nmap done: 1 IP address (1 host up) scanned in 5.76 seconds please help me in accessing my local computer from other networks. thank you in advance, S.Vineeth. _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- portmapping issue vineeths (Jul 27)
- Re: portmapping issue George Chatzisofroniou (Jul 30)
- Re: portmapping issue vineeths (Aug 03)
- Re: portmapping issue George Chatzisofroniou (Jul 31)
- Re: portmapping issue vineeths (Aug 03)
- Re: portmapping issue George Chatzisofroniou (Jul 30)