Recent Changes - Search:

Softwares

.

Ssh-port-forwarding

Creating a simple vps.

Here we will connect to the telnet server on the remote host.

  • Open port 5000 on your local host and tunnel it to port 23 on your remote host.
  ssh -L 5000:127.0.0.1:23 itmission.org

netstat command will give the output for nestat -anp|grep 5000, once the tunnel is setup, we can use simple telnet command to telnet to the server.

  telnet localhost 5000
  • Another example:

laptop# ssh -L 110:mailhost:110 -l user -N mailhost

(Naturally, substitute user with your username, and mailhost with your mail server's name or IP address).

Edit - History - Print - Recent Changes - Search
Page last modified on October 27, 2007, at 03:53 AM