Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Routing Through Another Proxy

The Set Routing Preferences page is used to configure your proxy server to route certain resources using the derived default configuration or direct connections; or using proxy arrays, ICP neighborhood, another proxy server, or a SOCKS server.

Configuring Routing for a Resource

ProcedureTo Configure Routing for a Resource

  1. Access the Server Manager and click the Routing tab.

  2. Click the Set Routing Preferences link.

    The Set Routing Preferences page is displayed.

  3. Select the resource from the drop-down list or click the Regular Expression button, type a regular expression, and clicking OK.

  4. Select the the type of routing you would like for the resource you are configuring.

    The available options are::

    • Derived Default Configuration. The proxy server uses a more general template, that is, one with a shorter, matching regular expression, to determine whether it should use the remote server or another proxy. For example, if the proxy routes all http://.* requests to another proxy server and all http://www.* requests to the remote server, you could create a derived default configuration routing for http://www.example.* requests, that would go directly to the remote server because of the setting for the http://www.* template.

    • Direct Connections. The request will always go directly to the remote server instead of through the proxy.

    • Route Through A SOCKS Server. The requests for the specified resource will be routed through a SOCKS server. If you choose this option, specify the name or IP address and the port number of the SOCKS server that the proxy server will route through.

    • Route Through. Enables you to specify whether you would like to route through a proxy array, ICP neighborhood, parent array, or proxy server. If you choose multiple routing methods, the proxy will follow the hierarchy shown on the form: proxy array, redirect, ICP, parent array, or another proxy. For more information on routing through a proxy server, see Chaining Proxy Servers.

      For information on routing through a SOCKS server, see Routing Through a SOCKS Server. For information on routing through proxy arrays, parent arrays, or ICP neighborhoods, see Chapter 12, Caching.


    Note –

    To enable routing of connect requests on ports other than 443, change the ppath parameter to connect://.* in the obj.conf file.


  5. Click OK.

  6. Click Restart Required.

    The Apply Changes page is displayed.

  7. Click the Restart Proxy Server button to apply the changes.

Chaining Proxy Servers

You can have the proxy access another proxy for some resources instead of accessing the remote server. Chaining is a good way to organize several proxies behind a firewall. Chaining also enables you to build hierarchical caching.

ProcedureTo Route Through Another Proxy Server

  1. Access the Server Manager and click the Routing tab.

  2. Click the Set Routing Preferences link.

    The Set Routing Preferences page is displayed.

  3. Select the resource from the drop-down list or click the Regular Expression button, type a regular expression and click OK.

  4. Select the Route Through option in the Routing Through Another Proxy section of the page.

  5. Select the Another Proxy checkbox.

  6. In the Another Proxy field, you can type the server name and the port number of the proxy sever that you want to route through.

    Type the server name and port number as servername:port

  7. Click OK.

  8. Click Restart Required.

    The Apply Changes page is displayed.

  9. Click the Restart Proxy Server button to apply the changes.

Routing Through a SOCKS Server

If you already have a remote SOCKS server running on your network, you can configure the proxy to connect to the SOCKS server for specific resources.

ProcedureTo Route Through a SOCKS server

  1. Access the Server Manager and click the Routing tab.

  2. Click the Set Routing Preferences link.

    The Set Routing Preferences page is displayed.

  3. Select the resource from the drop-down list or click the Regular Expression button, type a regular expression and click OK.

  4. Select the Route Through option in the Routing Through Another Proxy section of the page.

  5. Select the Route Through SOCKS Server option.

  6. Specify the name or IP address and the port number of the SOCKS server that the proxy server will route through.

  7. Click OK.

  8. Click Restart Required.

    The Apply Changes page is displayed.

  9. Click the Restart Proxy Server button to apply the changes.

Next Steps

Once you have enabled routing through a SOCKS server, you should create proxy routes using the SOCKS v5 Routing page. Proxy routes identify the IP addresses that are accessible through the SOCKS server your proxy routes through. Proxy routes also specify whether that SOCKS server connects directly to the host.