The Nec Socks5 Proxy Server

The NEC NSL SOCKS reference implementation was a pioneer in the field of application layer security, offering a full-featured proxy server application based on version 5 of the popular SOCKS protocol. This chapter walks you through the process of compiling, installing, and configuring the Linux version of NEC's SOCKS5 implementation. It also describes how to use SOCKSCap, which is a WinSock-based library that provides seamless SOCKS support for Microsoft Windows applications that are not natively SOCKS-aware.

At the heart of the SOCKS firewall implementation is the SOCKS5 daemon that runs on the Linux server. This daemon needs to run on a host that has a clear IP network path to both your internal network and to the public Internet. This is accomplished by setting up your firewall host in one of two modes:

Single-Homed A single-homed system has a single interface on a network segment from which both private and public networks are reachable.

Dual-Homed A dual-homed system has two interfaces, one for the public network and one for the private, trusted network.

SOCKS5 can be used in either of these two configurations, although a dual-homed firewall is typically more straightforward to set up and maintain and consequently is more secure.

Linux distributions do not include the SOCKS5 package by default, so you have to obtain it in either RPM format or as a tar archive of the sources. I picked mine up from www.rpmfind.net.

Continue reading here: The runsocks Script

Was this article helpful?

+1 0

Readers' Questions

  • LUCAS
    What is a socks server?
    10 months ago
  • A SOCKS server is a proxy server that acts as an intermediary between a client and a destination server. It allows a client computer to make indirect network connections to other network services. The proxy server is sometimes known as a SOCKS proxy or SOCKS server. It acts as an interface between the client and the destination server, allowing the client computer to bypass a firewall or other restrictions and access the resources on the destination server.