# Client Public IP Detection

The Theme settings described below apply to Parallels Client for all supported platforms.

When configured, a Parallels client will use the selected service to retrieve the endpoint’s public IP and send it to the Parallels RAS Connection Broker along with other connection information. The received endpoint’s public IP is stored in the Parallels RAS variable %CLIENTPUBLICIP%, which can be configured as attribute values sent to a RADIUS provider.

The following settings can be configured:

* **Do not use client public IP detection:** The client’s public IP will not be captured and sent to Parallels RAS Connection Broker.
* **Use Parallels client public IP detection service:** The client’s public IP is captured using a Parallels-managed public IP detection service (<https://whatismyip.parallels.com/v1>) and sent to Parallels RAS Connection Broker.\
  \
  Use the test button to test the Parallels-managed public IP detection service.\
  \
  The public IP of the machine that runs the Parallels RAS console should be returned. Clients need to be able to access the Parallels-managed public IP detection service via HTTPS.
* **Use Custom client public IP detection service:** The client’s public IP is captured using a custom public IP detection service that can be specified as the service URL.\
  \
  Use the test button to test the specified public IP detection service.\
  \
  The public IP of the machine that runs the Parallels RAS console should be returned. Clients need to be able to access the specified public IP detection service via HTTPS. The custom service must return a JSON response containing the public IP in one of the following fields: "ip", "IP", "ipString", or "ipAddress".\
  \
  Example JSON response:\
  \
  {\
  &#x20;   "ip": "84.104.46.194"\
  }


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/parallels-web-client-and-user-portal/configure-themes/client-public-ip-detection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
