mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
socat: add Spanish translation (#15635)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
179fd915bc
commit
c3fc708c83
1 changed files with 28 additions and 0 deletions
28
pages.es/common/socat.md
Normal file
28
pages.es/common/socat.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# socat
|
||||
|
||||
> Relé polivalente (SOcket CAT).
|
||||
> Más información: <http://www.dest-unreach.org/socat/>.
|
||||
|
||||
- Escucha un puerto, espera una conexión entrante y transfiere datos a STDIO:
|
||||
|
||||
`sudo socat - TCP-LISTEN:8080,fork`
|
||||
|
||||
- Escucha en un puerto usando SSL e imprime a STDOUT:
|
||||
|
||||
`sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT`
|
||||
|
||||
- Crea una conexión a un host y puerto, transfiere datos en STDIO al host conectado:
|
||||
|
||||
`sudo socat - TCP4:www.example.com:80`
|
||||
|
||||
- Reenvía los datos entrantes de un puerto local a otro host y puerto:
|
||||
|
||||
`sudo socat TCP-LISTEN:80,fork TCP4:www.example.com:80`
|
||||
|
||||
- Envía datos con un esquema de enrutamiento multicast:
|
||||
|
||||
`{{echo "Hello Multicast"}} | socat - UDP4-DATAGRAM:{{224.0.0.1}}:{{5000}}`
|
||||
|
||||
- Recibe datos de un multicast:
|
||||
|
||||
`socat - UDP4-RECVFROM:{{5000}}`
|
Loading…
Add table
Reference in a new issue