Setting Up an Outgoing Port Forwarding

Connectivity Secure Shell

Setting Up an Outgoing Port Forwarding

The following procedure guides you through the process of setting up an outgoing port forwarding in Connectivity Secure Shell. It also applies if you are setting up off-host port forwarding that is outgoing in nature.

Once you have set up the outgoing port forwarding in connectivity Secure Shell, you must configure any involved third-party applications accordingly to complete the set up process.

To set up an outgoing port forwarding:

  1. In the Connectivity Secure Shell Management Console, open the Tunnels folder and click Connection. The three-paned Connection window is displayed.
  2. Click the Open Tunnel button in the top pane. The Open Tunnel dialog box opens.
  3. If you want to use an existing tunnel that is configured to connect to the appropriate host, select it. Otherwise, follow these steps to create a new tunnel:
    1. Click the Add New Tunnel button.
    2. In the Add New Tunnel dialog box, provide the required information.
    3. Click OK.

The tunnel profile appears in the Open Tunnel dialog box with the name you specified. It will also be accessible through Hummingbird applications that support Connectivity Secure Shell.
  1. In the Open Tunnel dialog box, click the Edit Tunnel Info button.
  2. In the Tunnel Profile dialog box, click Outgoing in the Port Forwarding folder.
  3. In the right pane, click the Add New Outgoing Port Forwarding button.
  4. In the Add New Outgoing Port Forwarding dialog box, specify the following information:
    • Display Name—Specify a name for the outgoing port forwarding profile. You may find it helpful to choose display names that indicate the defining features of the profiles you create, as this will simplify your future outgoing port selection.
    • Destination Host—Specify either the IP address or the fully qualified domain name of the remote host to which you want to connect. This host is the Secure Shell server machine in the case of a simple outgoing port forwarding. If you are setting up an off-host forwarding, you will specify the host to which the Secure Shell server sends the unencrypted data.
      Note: 
        If you are setting up off-host outgoing port forwarding:
       
      • Ensure the Allow Local Connections Only option is not selected.
      • Server configuration may not support or allow port forwarding.
    • Listen Port—Specify the local port on which the Connectivity Secure Shell engine listens for connection attempts. You can choose any port between 1024 and 65535. Make a note of the port you select as this is the port to which you must configure third-party applications such as e-mail clients to send their connections.
    • Destination Port—Specify the port (on the destination host) to which you want the Secure Shell server to send the unencrypted data. In most cases, you will specify a default protocol port. For example, specify port 110 for POP3 servers, port 23 for TELNET, and so on.

      Tip:  For information on standardized protocol ports, visit http://www.iana.org/assignments/port-numbers.

    • Allow local connections only—Select this option to restrict connections to the listening port to those initiated locally. If you are setting up an off host port forwarding and intend to connect to the listening port from a remote machine, do not select this option.
    • Enable—Select this option to enable this port forwarding profile within the tunnel profile you are editing. Enabled forwardings have a checkmark next to their display names in the Tunnel Profile dialog box.
  1. Click OK. The new profile appears in the Outgoing Ports list.
  2. In the Tunnel Profile dialog box, click OK.
  3. In the Open Tunnel dialog box, you can click Open to start the tunnel. However, it may be necessary to configure third-party applications before you can successfully use the Secure Shell session to secure their connections.