User Tools

Site Tools


informatica:linux:proxytunnel
no way to compare when less than two revisions

Differences

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


informatica:linux:proxytunnel [2015/04/13 20:19] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +**IMPORTANTE** Revisar el artículo, pero creo que está bien
 +
 +(Todo como root)
 +
 +1. Descargar proxytunnel de http://proxytunnel.sourceforge.net
 +
 +2. Descomprimir en un directorio, por ejemplo /home/proxytunnel
 +
 +3. Poner el ejecutable de proxytunnel en el path
 +
 +ln -s /home/proxytunnel/proxytunnel /usr/local/bin/
 +
 +4. Editar el fichero /etc/ssh/ssh_config y añadir:
 +
 +  ################################ ANYADIDO
 +  
 +  ForwardAgent yes
 +  ForwardX11 yes
 +  ForwardX11Trusted yes
 +  Tunnel yes
 +  GatewayPorts yes
 +  
 +  ProtocolKeepAlives 30
 +  
 +  Host misitio.mine.nu
 +  ProxyCommand /usr/local/bin/proxytunnel -p mi_proxy:puerto_proxy -u usuario_proxy -s contrasenya_proxy -d misitio.mine.nu:443
 +
 +5. Grabar y salir
 +
 +6. Probar:
 +
 +  ssh root@misitio.mine.nu
 +
 +**MEJORAR**
 +
 +El fichero /etc/ssh/ssh_config tiene que tener permisos 644, por lo que otros usuarios pueden ver usuario y contraseña del proxy
  
informatica/linux/proxytunnel.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1