---
title: "Configuring a client connection policy using <code class=\"cmdname\"><strong>dsconfig</strong></code>"
description: Create and configure a client connection policy in the PingDirectoryProxy server using the interactive dsconfig tool.
component: pingdirectory
version: 11.1
page_id: pingdirectory:pingdirectoryproxy_server_administration_guide:pd_proxy_config_client_connection_policy_dsconfig
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectoryproxy_server_administration_guide/pd_proxy_config_client_connection_policy_dsconfig.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
  example-2: Example:
  example-3: Example:
  example-4: Example:
  example-5: Example:
  example-6: Example:
  result: Result:
---

# Configuring a client connection policy using `dsconfig`

Creates and configure a new client connection policy using `dsconfig`.

## About this task

To create and configure a client connection policy:

## Steps

1. Run the `dsconfig` tool.

   ### Example:

   ```shell
   $ bin/dsconfig
   ```

2. Enter the connection parameters to the server.

   Connection parameters can include:

   * Host name

   * Connection method

   * Port

   * bind distinguished name (DN)

   * Bind DN password

3. In the PingDirectoryProxy main menu, enter the selection for `Client connection policy configuration`. To create a new client connection policy, enter `2`.

   ### Example:

   ```
   >>>> Client connection policy menu

   What would you like to do?

     1) List existing client connection policies
     2) Create a new client connection policy
     3) View and edit an existing client connection policy
     4) Delete an existing client connection policy

     b) back
     q) quit

   Enter choice [b]: 2
   ```

4. To create a new client connection policy from scratch, enter `n`.

   ### Example:

   ```
   >>>> Select an existing Client Connection Policy to use as a
   template for the new Client Connection Policy configuration or
   'n' to create one from scratch:

     1) default

     n) new Client Connection Policy created from scratch
     c) cancel
     q) quit
   ```

5. Enter a name for the new client connection policy.

   ### Example:

   ```
   Enter the 'policy-id' for the Client Connection Policy that you
   want to create: new_policy
   ```

6. To set up the policy to be enabled by default or not, select`true` or `false`.

   ### Example:

   ```
   Select a value for the 'enabled' property:

     1) true
     2) false

     ?) help
     c) cancel
     q) quit

   Enter choice [c]: 1
   ```

7. Enter a value for the `evaluation-order-index` property.

   |   |                                                                                               |
   | - | --------------------------------------------------------------------------------------------- |
   |   | Client connection policies with a lower index are evaluated before those with a higher index. |

   ### Example:

   ```
   Enter a value for the 'evaluation-order-index' property: 2
   ```

   ### Result:

   The properties of your new client connection policy are displayed.

8. (Optional) To make any further modifications, enter the number corresponding to the property.

9. To finish the creation of the client connection policy, enter `f`.

   |   |                                                                                                                                    |
   | - | ---------------------------------------------------------------------------------------------------------------------------------- |
   |   | Any changes that you make to the client connection policy don't apply to existing connections. They only apply to new connections. |
