Putty remote port forwarding

Associate
Joined
1 Aug 2003
Posts
1,053
I need to connect to someone behind a firewall. I'm trying to setup remote port forwarding so that I can access his computer through TightVNC

What's I've tried to do is to set remote portwarding

R 5905:localhost:5900

Which I thought would mean that on my linux server I'd just use tigervnc to attach to 127.0.0.1:5905

I've edited the sshd_config to 'allowagentforwarding yes' and 'gateway ports yes'

Help??
 
No, L5905:localhost:5900 would change the local port 5905 (on the computer running putty) to viewing its own 5900, L5905:badgerfaces.com:5900 would change the local port to viewing 5900 on badgerfaces.com

R5905 changes the remote computer (say I was sshing into badgerfaces.com) into having their 5905 port connect to 5900

Rather than using a server to allow me access behind a NAT, I am trying to get putty to present itself over NAT if that makes sense
 
Ah, thanks for your response, but I've literally just managed to get it to work.

I eventually abandoned the putty menu and went straight to plink so I could get a slightly more verbose output.

For anyone interested, the eventual command I used was like this:

plink.exe -v -ssh -R *:7402:computername:5900 badgerfaces.com

for some reason, you HAVE to put your windows computer name and not simply 127.0.0.1 or localhost. I assume this may be a windows feature to prevent loopback?
 
Back
Top Bottom