SECURECRT, Xmanager SSH port forwarding

Source: Internet
Author: User
Tags mysql client ssh ssh port ssh server
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.