天天看点

openwrt 之 NC 指令

1. 安装NC 

  opkg update

      opkg install netcat

2. 测试

nc  -l -u -p 8001  这样就可以在0.0.0.0上侦听udp的8001端口

nc -u 192.168.1.123 8001  在这里输入字符串, 就会回显一个相同的字符串,表示链接是OK的

3. 退出

CTRTL+Z