Set up a udp echo server at the host you want to ping.
There are many ways of doing this, my favourite way is:
socat -v UDP-LISTEN:5000,fork PIPE
Now a echo server is listening at port 5000.
If you dont have socat, use apt install socat or yum install socat, you will get it.
Ping you server.
Assume ip is the IP(no support domain, just use ip) of your server.
docker run -it --rm udpping:latest ip 5000
Done!
Content type
Image
Digest
sha256:559ebe292…
Size
45.1 MB
Last updated
over 3 years ago
docker pull whoer/udpping