Buenas, explico mi problema a ver si alguien puede ayudarme a solucionarlo ya que me trae de cabeza estos últimos días.
La cuestión es que estoy intentando configurar un túnel a través de SSH para poder navegar a través de él. Tengo configurado Putty tal y como se ve en muchos manuales que hay en internet al respecto, como por ejemplo ([URL="http://osiux.ws/2009/02/tunel-ssh-en-windows-usando-putty"]aqui[/URL]). Me conecta al servidor correctamente, pero cuando configuro el navegador para que me mande los datos a localhost:xxxx no hace nada, no me carga nada.
Todo esto ya lo probé hace años y funciono de lujo ya que lo usaba para conectar a diferentes servidores Windows RPD sin usar el 3389 por defecto sino otros puertos. Pero ahora que lo vuelvo a intentar hacer no lo consigo. La diferencia que antes tenia el SSH configurado en Windows y tenia control total del router y firewall pero ahora lo estoy intentando configurar en un VPS con Centos y no hay manera.
El detalle mas importante que creo que debe ser es que el proveedor del VPS tiene el firewall bloqueándome algo que no veo. Bueno algo que si que veo es que ping hacia fuera desde el SSH del VPS no hace. Y no creo que sea el firewall del propio VPS ya que he probado a abrir todo y sigo igual.
Código:
[root@XXXX~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
VZ_INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
VZ_FORWARD all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
VZ_OUTPUT all -- anywhere anywhere
Chain VZ_FORWARD (1 references)
target prot opt source destination
Chain VZ_INPUT (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpts:filenet-tms:65535
ACCEPT udp -- anywhere anywhere udp dpts:filenet-tms:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:cddbp-alt
ACCEPT tcp -- anywhere anywhere tcp dpt:pcsync-https
ACCEPT tcp -- localhost.localdomain localhost.localdomain
ACCEPT udp -- localhost.localdomain localhost.localdomain
Chain VZ_OUTPUT (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:http
ACCEPT tcp -- anywhere anywhere tcp spt:ssh
ACCEPT tcp -- anywhere anywhere tcp spt:smtp
ACCEPT tcp -- anywhere anywhere tcp spt:pop3
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp spt:cddbp-alt
ACCEPT tcp -- anywhere anywhere tcp spt:pcsync-https
ACCEPT tcp -- localhost.localdomain localhost.localdomain
ACCEPT udp -- localhost.localdomain localhost.localdomain
[root@XXXX ~]#
Código:
[root@XXXX ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
18 packets transmitted, 0 received, 100% packet loss, time 17001ms
[root@XXXX ~]#