# Cloudflare

## mod\_cloudflare

Cloudflare reports the IP address of the visitor in an HTTP header it appends; **CF-Connecting-IP**, so there is some information on the original visitor. However, in some instances where you have other programs that depend on the incoming IP address of the original visitor, there will be issues.&#x20;

The good news is that there is a solution which is outlined in the following diagram:

<figure><img src="/files/M499BTQyULKMveyYqyta" alt=""><figcaption></figcaption></figure>

You can find out more in the [Restoring Original Visitor IPs](https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/#mod_remoteip) article provided by Cloudflare.


---

# 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.toomuchmedia.com/using-nats/one-off-articles/cloudflare.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.
