informatica:linux:tunel
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:tunel [2013/07/03 09:02] – external edit 127.0.0.1 | informatica:linux:tunel [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ssh tunel ====== | ====== ssh tunel ====== | ||
| + | Mas info: http:// | ||
| + | |||
| ssh tunel tunnel -L | ssh tunel tunnel -L | ||
| + | |||
| + | ===== Tunel entre solo dos maquinas ===== | ||
| + | |||
| + | Direcciones IP: | ||
| + | |||
| + | | A | nuestra maquina | | ||
| + | | B | 192.168.1.2 | | ||
| + | |||
| + | Conectividad: | ||
| + | |||
| + | A -> B TCP 22 (SSH) | ||
| + | |||
| + | Objetivo: | ||
| + | |||
| + | A -> B TCP 8080 | ||
| + | |||
| + | Solucion: | ||
| + | |||
| + | ssh -L 8080: | ||
| + | |||
| + | Prueba: | ||
| + | |||
| + | http:// | ||
| + | | ||
| + | Nos estaremos conectando al puerto TCP 8080 de la maquina B | ||
| ===== Tunel simple ===== | ===== Tunel simple ===== | ||
| Line 28: | Line 55: | ||
| ssh -L 8081: | ssh -L 8081: | ||
| - | Si nos conectamos a localhost: | + | Si nos conectamos a localhost: |
| Si el servicio ssh en C escucha en otro puerto: | Si el servicio ssh en C escucha en otro puerto: | ||
| ssh -p PUERTO -L 8081: | ssh -p PUERTO -L 8081: | ||
| + | |||
| ===== Doble tunel ===== | ===== Doble tunel ===== | ||
informatica/linux/tunel.1372842169.txt.gz · Last modified: (external edit)
