Example application:
Intranet 192.168.1.0 HOST1 eth0:192.168.1.241 installed SECURECRT
Outside the net 192.168.5.0 HOST2 eth0:192.168.5.2 eth1:192.168.1.2 eth1 with HOST1 eth0 the same intranet
HOST3 eth0:192.168.5.3 eth0 installed MySQL port 3306 with HOST2 eth0 same intranet
Under normal circumstances, from the HOST1 can not directly connect HOST3 MySQL, now through the SECURECRT port forwarding, set as follows:
Open SECURECRT, HOST1 Normal connection HOST2, and then click Session Properties---> Port forwarding---> Add local port forwarding:
Option: Name Optionally enter a descriptive name
Local not tick player Select Allow connection local IP address 127.0.0.1 port input 3310
Remote Check destination host is different from SSH server host name 192.168.5.3 port 3306 do not check dynamic forwarding using socks
Save exit, reconnect with SECURECRT HOST2
After successful connection, you can connect the HOST3 MySQL connection ip:192.168.1.241 Port via the MySQL client tool: 3310
Some network devices that require interface management, install a SECURECRT on the WIN2003 server you can log on remotely, and set up port forwarding can also achieve remote interface management, such as load balancing can also be achieved by this method:
similar Xmanager set port forwarding:
HOST1: Local machine is installed Xmanager
HOST2: In Transit (springboard) with SSH service installed
HOST3: Target Machine
HOST1 sends data through port 8082 to HOST2 22
HOST2 send data to port 13710 on HOST3
Turn from: http://xjsunjie.blog.51cto.com/999372/568031
Other references: http://jspine.iteye.com/blog/421234