Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Configuring Routing Entries

Routing entries can be used to configure a Proxy Server to route requests through a SOCKS server. The two types of routing entries are, the SOCKS v5 routes and the SOCKS v5 proxy routes.

ProcedureTo Create Routing Entries

  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 Routing section, click the Add button.

  4. In the Host Mask field, type the IP address or host name for which incoming and outgoing connections must go through the specified interface.

    If you type 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 to determine whether it is a valid host. Do not use spaces in the host mask entry. If you do not provide a host mask, the SOCKS v5 entry applies to all hosts.

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

  5. In the Port Range field, type the ports for which incoming and outgoing connections must go through the specified interface. Your port range should not have any spaces.

    If you do not specify a port range, the SOCKS v5 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.

  6. In the Interface/Address field, type the IP address or name of the interface through which incoming and outgoing connections must pass.

  7. 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.


    Note –

    The interface specified should be used for both incoming and outgoing connections, otherwise the incoming route will be different from the configured interface and an error message will be received.


ProcedureTo Create Proxy Routing Entries

  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, type the IP address or host name for which the connection entry applies.

    If you type 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 whether it is a valid destination host. Do not use spaces in the host mask entry. If you do not provide a destination host mask, the connection entry applies to all hosts.

    For example, you can type 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, type 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, type the host name or IP address of the Proxy Server to use.

  8. In the Destination Proxy Port field, type 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.

ProcedureTo Edit Routing Entries

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

  2. Click the Set SOCKS v5 Routing link.

  3. Select the entry you want to edit.

  4. Click the Edit button.

  5. Make changes as desired.

  6. Click OK.

ProcedureTo Delete Routing Entries

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

  2. Click the Set SOCKS v5 Routing link.

  3. Select the entry you want to delete.

  4. Click the Delete button.

ProcedureTo Move Routing Entries

Entries are evaluated in the order in which they appear in the socks5.conf file. You can change the order by moving them.

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

  2. Click the Set SOCKS v5 Routing link.

  3. Select the entry you want to move.

  4. Click the Move button.

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