Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


Closed Thread
  Search this Thread
Old 11-17-2011, 01:42 AM   #1
Senior Member
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
can i use nmap to scan a router to view the computers connected to it

i want to use nmap to be able to scan a router that is not on the lan and see the computers that are connected to it and also see their ip addresses
Old 11-17-2011, 02:26 AM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Normally, I will do a ping sweep on my router to see what all is connected, like so:
nmap -sP
Now as far as a router that is not on your network, technically speaking, you can, but you can't. Hard for me to explain.... What is the subnet and the IP address of the router?
Old 11-17-2011, 06:45 AM   #3
Rajan Chatterjee
LQ Newbie
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
dude if the router is not on a LAN that means you are not in organisation whick sense that firstly you have to find the organisation ip adress which is then divided virtually which is not seen by normal outsiders you have to first proxy connection with whom inside that router nad then you can ping the entire network this is whole about scanning and best of luck......
Old 11-17-2011, 07:33 PM   #4
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
No nmap can not identify which hosts are connected to a router. You can use it to scan the router and the hosts.
Old 11-17-2011, 11:01 PM   #5
Senior Member
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
how do i scan the hosts from outside the lan because i can only view my router from outside the lan and i also want to know how to view all of the hosts connected to it from outside the lan as well
Old 11-20-2011, 06:08 AM   #6
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Testing your firewall isn't bad but the techniques to attack your own IP could be used to attack others, and so is against LQ rules. This thread has been closed.

Last edited by jschiwal; 11-23-2011 at 06:54 AM. Reason: typo
1 members found this post helpful.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DDwrt/OpenVPN, vpn works on router, not for computers connected Nadine88 Linux - Newbie 0 08-11-2011 05:04 AM
[SOLVED] How can I scan for other devices connected to that router? linustalman Linux - Networking 4 04-23-2011 08:19 AM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 10:10 AM
nmap scan sucram2g Linux - Security 2 03-18-2006 03:21 AM
Scan behind Router With nMap? arpanet1969 Linux - Security 1 01-28-2005 06:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration