User Tools

Site Tools


informatica:linux:tunel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
informatica:linux:tunel [2014/08/29 11:01]
javi [Tunel simple]
informatica:linux:tunel [2015/04/13 22:19] (current)
Line 6: Line 6:
  
  
 +
 +===== 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:​localhost:​8080 usuario@192.168.1.2
 +
 +Prueba:
 +
 +  http://​localhost:​8080
 +  ​
 +Nos estaremos conectando al puerto TCP 8080 de la maquina B
  
 ===== Tunel simple ===== ===== Tunel simple =====
Line 35: Line 60:
  
   ssh -p PUERTO -L 8081:​192.168.1.1:​80 usuario@192.168.1.2   ssh -p PUERTO -L 8081:​192.168.1.1:​80 usuario@192.168.1.2
 +
  
 ===== Doble tunel ===== ===== Doble tunel =====
informatica/linux/tunel.txt ยท Last modified: 2015/04/13 22:19 (external edit)