        |
Utilizar socat para emular un udp telnet
Instalación en el servidor
- Se instala el socat:
# apt-get install socat
- Se arranca en un fichero de arranque del sistema:
# echo '#/bin/sh' > /etc/rcS.d/S41socat # echo '/usr/bin/socat udp4-listen:10000 exec:/bin/bash &' >> /etc/rcS.d/S41socat # chmod 755 /etc/rcS.d/S41socat # /etc/rcS.d/S41socat
Cliente
- te conectas con un simple nc (netcat):
$ nc -u ip_servidor 10000
NOTA: No escribir exit o cerrarás el servidor (siomplemente haz ctrl+c)
|