after installing netcat on a Netgear R7800 I'm trying a simple upd test: netcat -vvz -u 10.30.0.253 123
netcat end immediately without error.
Same test using nmap nmap -sU -v 10.30.0.253 return a result:
PORT STATE SERVICE
53/udp open domain
123/udp open ntp
161/udp open snmp
520/udp closed route
1900/udp closed upnp
5353/udp closed zeroconf
123/udp is open.
PS: netcat and nmap all tests performed from ssh directly on router.
PS²: Same netcat test from ubuntu laptop via ethernet link through the router is working.
root@magiatiko:[~]#netstat -lnp | grep 123
udp 0 0 :::123 :::* 4631/ntpd
root@magiatiko:[~]#nc -vvz -u 10.0.2.1 123
Total received bytes: 0
Total sent bytes: 0
root@magiatiko:[~]#netcat -vvz -u 10.0.2.1 123
Total received bytes: 0
Total sent bytes: 0
Maybe I misunderstood that your problem was that there was no output at all.
Indeed the netcat from another linux host will report differently magiatiko.mrv [10.0.2.1] 123 (ntp) open sent 0, rcvd 0
Still the sent and received is zero.
However netcat version in OpenWrt is 0.7.1 and is a rewrite. In my linux host it is 1.10 and has more options.