You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
650 B

---
weight: 4
title: "Túneles ssh"
date: 2021-01-27T21:09:10+0100
draft: true
summary: "Túneles ssh"
categories:
- pildoras
tags:
- ssh
---
Hay tres tipos de túneles ssh:
- _Local Port Forwarding_
- _Remote Port Forwarding_
- _Dinamic Port Forwarding_
## _Local Port Forwarding_
Conecta un puerto en mi máquina **local** a un puerto de una máquina remota, a través de un servidor _ssh_.
* El puerto de la maquina remota tiene que ser accesible para el servidor _ssh_.
`ssh -L {puerto_local}:[ip_maquina_remota|localhost]:{puerto_maquina_remota} {usuario_ssh@servidor_ssh}`
## _Remote Port Forwarding_
## _Dinamic Port Forwarding_