Forum

Notifications
Clear all

Forwarding

0 Posts
2 Users
0 Reactions
252 Views
 Ton
(@dieningt)
New Member
Joined: 55 years ago
Posts: 1
Topic starter  

telnet.exe->local port->AbsoluteTelnet->SSH server->telnet.sh

How can I pipe telnet through the AbsoluteTelnet
SSH link to a secure server and then back through
another telnet session?

The help files do not show any examples or info
on forwarding.

Thanks.

[size=1][ February 25, 2002, 04:39 PM: Message edited by: Brian T. Pence ][/size]


   
ReplyQuote
(@bpence)
Member Admin
Joined: 1 year ago
Posts: 1375
 

Ton, you can use Options->Properties->Connection->SSH2->Forwarding

(SSH2 or SSH1)

There, you can define a local port that's forwarded to a port on a machine on the remote network.

You can also use it to forward ports from the remote network to your local network.


   
ReplyQuote
(@bpence)
Member Admin
Joined: 1 year ago
Posts: 1375
 

For example, if you wanted to telnet from you local client to a host on your remote network, you would set up forwarding in SSH2 to forward from local port 9999 (really, any available port number) to port 23 (telnet port) of the remote machine. The name used for the remote machine must be addressable from the remote host.

Real world examle:

Your friend has a private network behind a Linux firewall. The public IP address of the firewall is A.B.C.D. The IP addresses of the machines behind the firewall are private addresses in the range 192.168.1.X. To telnet through the firewall to 192.168.1.25, you first would need to establish an SSH session to the firewall. Next set up port forwarding to connect from your local port 9999 to remote 192.168.1.25 port 23.

Now, in another session, you can telnet to your local machine (IP 127.0.0.1) port 9999, and the telnet session is transparently redirected through your secure link to the server behind the firewall!!

This, of course, requires that telnet be enabled on the target server, and that port forwarding is allowed through your SSH server.


   
ReplyQuote
Share: