HP-UX Secure Shell Getting Started Guide HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3 (5900-3142, June 2013)

Figure 5 Dynamic Port Forwarding Process
To establish a connection, an application client calls the SOCKS client, which then makes a
connection to the SOCKS server with the following command:
# ssh -o "ProxyCommand=/usr/bin/connect -S proxy-server <proxy-port number>
%h %p" external server
Prerequisites
The SOCKS Client product (connect.c). It is available for download at: http://www.taiyo.co.jp/
~gotoh/ssh/connect.c
Usage Examples
Example 6 (page 52) and Example 7 (page 52) illustrate how to connect to an external server and
transfer data using dynamic port forwarding.
Implementations of SOCKS 51