HP-UX Secure Shell Getting Started Guide
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 54)
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 54)
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://zippo.taiyo.co.jp/~gotoh/ssh/connect.html
Usage Examples
Enter the following command to run the DanteSOCKS daemon in the proxy-server system:
# sockd
Example 5-1 and Example 5-2 illustrate how to connect to an external server and transfer data
using a SOCKS proxy.
SOCKS Overview 53