Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Creating SOCKS v5 Proxy Routing Entries

ProcedureTo create proxy routing entries

Steps
  1. Access the Server Manager for a server instance and click the SOCKS tab.

  2. Click the Set SOCKS v5 Routing link.

  3. In the Proxy Routing section, click the Add button.

  4. From the Proxy Type drop-down list, select the type of Proxy Server through which you are routing. The following options are available

    • SOCKS v5

      • SOCKS v4

      • Direct connection

  5. In the Destination Host Mask field, enter the IP address or host name for which the connection entry applies.

    If you enter an IP address, follow it with a forward slash and the mask to be applied to the incoming IP address. The SOCKS server applies this mask to the IP address of the destination computer to determine if it is a valid destination host. Do not use spaces in the host mask entry. If you do not enter a destination host mask, the connection entry applies to all hosts.

    For example, you can enter 155.25.0.0/255.255.0.0 in the destination host mask field. If the destination host’s IP address is 155.25.3.5, the SOCKS server applies the mask to the IP address and determines that the destination host’s IP address matches the IP address for which the proxy entry applies (155.25.0.0).

  6. In the Destination Port Range field, enter the ports on the destination host for which the proxy entry applies.

    Do not use spaces in the port range entry. If you do not specify a port range, the proxy entry applies to all ports.

    You can use brackets [ ] to include the ports at each end of the range or parentheses ( ) to exclude them. For example, [1000-1010] means all port numbers between and including 1000 and 1010, while (1000-1010) means all port numbers between, but not including, 1000 and 1010. You can also mix brackets and parentheses. For instance, (1000-1010] means all numbers between 1000 and 1010, excluding 1000, but including 1010.

  7. In the Destination Proxy Address field, enter the host name or IP address of the Proxy Server to use.

  8. In the Destination Proxy Port field, enter the port number on which the Proxy Server will listen for SOCKS requests.

  9. From the Insert drop-down list, select the position for this entry in the socks5.conf file and click OK.

    Because you can have multiple routing methods, you must specify the order in which they are evaluated.