Technical article 126845

How can I setup Dynamic Port Forwarding to my SCO Unix Server?

OpenServer 6.0.0OpenServer 5.0.7UnixWare 7.1.4

Written · Last revised

Problem

I would like to setup Dynamic Port Forwarding to my SCO Unix server. How can I do this?

Solution

SCO OpenServer 6.0.0, UnixWare 7.1.4 and OpenServer 5.0.7 all include support for OpenSSH. With ssh(1) you can create a tunnel between an ssh client system and an SCO Unix server running sshd(8) that can be used for dynamic port forwarding.

To create the tunnel from an SCO Unix client to an SCO Unix Server run the command:

ssh -D 1080 foo.bar.com

and login to the server foo.bar.com. In this case foo.bar.com is the remote secure SCO Unix server running sshd.

Running this command on the client will allocate a socket to listen on local port 1080 on the SCO Unix client. Whenever a connection is made to this port, the connection is forwarded over the secure channel to the server foo.bar.com and the application protocol is then used to determine where to connect to from the remote machine. Currently applications that support SOCKS 4 and SOCKS 5 are supported as ssh acts as a SOCKS server.

To create the tunnel from a Windows PC to an SCO Unix Server you will need an ssh client on your Windows PC that supports Dynamic Port Forwarding. PuTTY is one example of an client for Windows that supports Dynamic Post Forwarding. To configure a tunnel with Dynamic Port Forwarding with PuTTY do the following:

- Launch PuTTY
- Under "PuTTY Configuration"
          - under Category: "Session" specify the Host Name or IP
            address of the remote SCO Unix server (e.g. foo.bar.com)
          - under Category: "Connection -> SSH -> Tunnels" enter
            1080 in the Source Port field
            Click on the "Dynamic" radio button
            Click on "Add"
          - to save this configuration, under "Session" enter a name
            in the "Saved Session" field and click on "Save"
          - to open the tunnel click on "Open"
Now that the tunnel is established, you can configure the client
of the desired application to make use of it.  As an example, the
Firefox web browser currently supports SOCKS 4 and SOCKS 5, and can
easily be configured to use the ssh tunnel.  For Firefox v2.0.6 (the
latest Firefox version for Windows XP as of the time of this writing),
you would do this as follows:

- Go into the Tools menu and choose "Options" - Choose "Advanced" and click the "Network" tab - Click "Settings" in the Connection box - Click the "Manual proxy configuration" radio button - Fill in "localhost" for the SOCKS host and "1080" for the Port - Click OK to apply the changes

You should now be able to browse the web utilizing the tunnel.

See also

TA126847: "How can I configure Mozilla to use a SOCKS 5 Proxy on my local SCO Unix system?"

From the Xinuos technical article database, record 126845. Reproduced with permission. The original is at www.sco.com/ta/126845, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.