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

5 Configuring HP-UX Secure Shell as a SOCKS Proxy
This chapter describes how to configure HP-UX Secure Shell as a SOCKS proxy. This chapter
addresses the following topics:
SOCKS Overview.
Implementations of SOCKS.
DanteSOCKS.
“Dynamic Port Forwarding (page 50)
SOCKS Overview
SOCKS is an Internet protocol that enables client-server applications to transparently use the services
of a network firewall. This protocol enables a client which is behind a firewall to connect to external
servers through a SOCKS proxy server. The SOCKS proxy server determines the eligibility of the
client to access the external server.
Implementations of SOCKS
SOCKS can be implemented in various ways. This section discusses the following implementation
types:
DanteSOCKS.
“Dynamic Port Forwarding (page 50)
DanteSOCKS
DanteSOCKS is a circuit-level firewall or proxy that you can use to provide convenient and secure
network connectivity to a wide range of hosts. However, the server on which DanteSOCKS runs
must be connected to an external network. Once installed, DanteSOCKS can be made transparent
to the clients, while offering detailed access control and logging facilities to the server administrator.
Prerequisites
Download and install the following products to use Dante SOCKS with HP-UX Secure Shell:
DanteSOCKS- DanteSOCKS is a part of the Internet Express suite of products. It is available
for download at: www.software.hp.com
SOCKS Client product- The SOCKS client product (connect.c) is a simple relaying command
that makes network connections using SOCKS and https proxy. It is available for download
at: http://www.taiyo.co.jp/~gotoh/ssh/connect.c
Usage Examples
Enter the following command to run the DanteSOCKS daemon in the proxy-server system:
# sockd
Example 4 and Example 5 illustrate how to connect to an external server and transfer data using
a SOCKS proxy.
SOCKS Overview 49