Sinisterly
How to discover open ports? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Computers (https://sinister.li/Forum-Computers)
+--- Forum: Networking (https://sinister.li/Forum-Networking)
+--- Thread: How to discover open ports? (/Thread-How-to-discover-open-ports)



How to discover open ports? - Hack3rcon - 01-17-2023

Hello,
In a local network, a device like the FortiGate existed and clients connecting to it for use the Internet. The traceroute output is:
Code:
$ sudo traceroute -4 google.com -I traceroute to google.com (216.239.38.120), 30 hops max, 60 byte packets 1 192.168.1.1 (192.168.1.1) 3.090 ms 3.412 ms 3.720 ms 2 two.two.two.two (2.0.0.2) 0.692 ms 0.796 ms 0.904 ms 3 192.168.1.200 (192.168.1.200) 0.202 ms 0.181 ms 0.169 ms ... 16 any-in-2678.1e100.net (216.239.38.120) 33.692 ms 33.689 ms 33.685 ms
I scanned 192.168.1.200 IP address with the Nmap, but it couldn't detect any open ports. How can I find the port that packets pass through it?

Thank you.


RE: How to discover open ports? - User23 - 07-13-2023

Run nnamp with stealth scan and maybe with OS fingerprinting. Did you do a scan of the whole network? Were other devices detected?


RE: How to discover open ports? - wdc - 07-24-2023

What about Linux command "nmap -a ipaddress", but the remote must be your computer, otherwise it is illegal and can cause source IP blacklisting i think.
On the first page of the "man nmap" is an example command with explanation.


RE: How to discover open ports? - mothered - 07-24-2023

(07-24-2023, 09:10 AM)wdc Wrote: What about Linux command "nmap -a ipaddress", but the remote must be your computer, otherwise it is illegal and can cause source IP blacklisting i think.
On the first page of the "man nmap" is an example command with explanation.
NMap Is a very effective tool.

Obviously there are an array of other tools that serve the same purpose.


RE: How to discover open ports? - gh05t3d - 07-30-2023

By default it scan 1000 ports. Specify -p- so it will scan all ports


RE: How to discover open ports? - rc445 - 08-15-2023

What do you mean "How can I find the port that packets pass through it?" . A firewall/router doesn't "accept" packets on a specific port. It routes (or doesn't route) all traffic based on rules.

The device will accept admin connections. Sometimes this is through a web UI or SSH. Sometimes, these devices wont accept admin connection through the LAN ports but will have a specific Management Port.
Most big organizations will segregate all their management traffic in a specific VLAN.


RE: How to discover open ports? - The_Professor - 06-17-2024

Best choice is Nmap stealth scan or if you want a user interface you can check out Fing