Find Private IP Address of Devices Connected to Same WiFi using Termux (2025 Method)

Find Private IP Address of Devices Connected to Same WiFi using Termux (2025 Method)

Termux nmap scan

🔍 Find Private IP Address of Devices Connected to Same WiFi using Termux (2025 Method)

Snippet: Discover how to detect private IP addresses of users connected to your WiFi network using Termux and Nmap — without root, 100% working in 2025!

Ever wondered who’s connected to your WiFi? Whether you're a cybersecurity learner or just curious about your home network, Termux offers a smart, root-free way to scan all connected devices and check their private IPs. In this guide, we’ll walk through using Nmap — a powerful scanning tool — on your Android device via Termux.

📦 What is Nmap?

Nmap (Network Mapper) is a free and open-source tool used for network discovery and security auditing. It's widely used by ethical hackers, network admins, and cybersecurity learners to detect hosts and open ports in a network.

🛠️ Installing Nmap in Termux

Follow these steps to install Nmap in your Termux environment:

pkg update && pkg upgrade

pkg install nmap -y

🌐 Find Your Own Device's IP Address

To get started, you need to know your own local IP address:

ifconfig
  • Look for the section named wlan0 if you are connected to WiFi.
  • In my case, the IP is 192.168.43.201 (yours may differ).

🔎 Scanning All Devices Connected to Your WiFi

Now, run the following command to detect all devices connected to your WiFi network:

nmap -sn 192.168.43.0/24
  • This command will scan the entire subnet for active devices.
  • You’ll see the private IP addresses of all connected users and devices.

⚠️ Tip: What to Do with These Private IPs?

Once you get the private IPs, you can dig deeper to check open ports on them (for educational analysis only):

nmap -Pn [target-ip]

Replace [target-ip] with the IP you found from the scan.

🧠 Important Note:

This tutorial is only for educational purposes. Unauthorized scanning of networks or devices you don’t own is illegal and unethical.

📌 Related Article You May Like:

💭 My Thoughts

Exploring your local network using Termux is a great way to learn the basics of ethical hacking and networking. Tools like Nmap give you real-time visibility into what’s happening on your WiFi — but always remember, with great power comes great responsibility! 😉

If you're passionate about cybersecurity, keep visiting Kumar’s Magic for more practical and legal tech tutorials!

Kumar's Magic

Post a Comment

Previous Post Next Post