Using netcat, check for UDP port open
rated 0 times [ 0] [ 0] / comments: 0 / hits: 391 / 2 yaers ago, tue, aug 15, 2017, 13:27:17
If you need to find out of a server's port is open via UDP, you can use this. Obviously, use your active interface - in this example, it's eth0.
# First, log into the server and use tcpdump to listen to a port via udp: tcpdump -i eth0 udp port 8080 -vv -X # Then, on your client, connect via nc to the server nc -u $server 8080 # Next, type some text on the client, you should see it on the server side.
More From » general