How to test UDP port connectivity

Earlier today, I have a need to check for a UDP opening port on a remote Linux server. And I felt blank in my brain, like I never done this before. Then I remember with TCP, I could use nc command to check it. Something like: ➜ nc -vz opnsense 22 Ncat: Version 7.92 ( https://nmap.org/ncat ) Ncat: Connection to 2400:a888:333:0:222:ffff:fe54:67de failed: TIMEOUT. Ncat: Trying next address... Ncat: Connection to 192....

July 17, 2024 · 3 min · 495 words · kenno

How to Scan for IPs of Connected Devices

Suppose you just connect a Raspberry Pi to your home network using ethernet interface, and the Pi is not connected to a display device. How would you find an IP of that Raspberry Pi? Well, you’re right…whatever you say. There are a few ways to do this - looking at DHCP log, router log, …etc. But here is an even easier way to achieve this - using a command line tool called nmap....

July 3, 2021 · 1 min · 170 words · kenno