Connecting Tech Pros Worldwide Forums | Help | Site Map

Port Forwarding

Newbie
 
Join Date: Feb 2009
Posts: 9
#1: Feb 24 '09
Hi
I have a question. I have to create a tunnel between two systems X and Y, X behind NAT and Y is public.

There are two programs Px - running on X and Py-running on Y. I am first establishing a socket connection between them.

I have to establish a port forwarding concept X and Px, Y and Py so that when we write telnet localhost (portno of Px) on X . I am forwarded to Y.

How do you think I can establish a connection between X and Px, Y and Py (using ssh-L and ssh -R commands???)

Do reply
Thank you very much.

sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Feb 25 '09

re: Port Forwarding


Okay, I didn't follow that whole thing, so let's break this down - what is the first thing you want to accomplish?
Reply