# Cloudflare

1\. Open your computer's web browser, navigate to the CloudFlare official website ([https://www.cloudflare.com](https://www.cloudflare.com/)), and complete the registration process to log in to your account.

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

2. Add a domain name. If you already have a domain name, click "Add a domain". If you don't have a domain name, you can also purchase a domain name in CloudFlare. The domain name purchased in CloudFlare will be automatically added to the Domain list.

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

It is recommended that individual users choose the free plan

<figure><img src="/files/752GJQytEHaewG7F71U5" alt=""><figcaption></figcaption></figure>

3. In iSG Add-on, select CloudFlare and input domain you will use for remote access iSG HA.

<mark style="color:red;">Note:</mark>&#x20;

1）Use the domain name you registered with Cloudflare，such as: linknlink.org

2\)  Add the subdomain in front of the domain name, such as : abcd

3\) The last thing you need to enter is the synthesized subdomain. such as: adcd.linknlink.org

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

4. Click install CloudFlare

During the installation process, the system will automatically pop up the authorization page through Opera. You need to log in to your CloudFlare account and click Authorize.

Click "Authorize CloudFlare Tunnel", a page will pop up, click your domain name and activate it.

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

<figure><img src="/files/0XlmUhD5zP9OwTUff2OB" alt=""><figcaption></figcaption></figure>

5. After successful authorization, back to CloudFlare will automatic finish intallation

6. Log in to CloudFlare through a computer browser and click on the domain name to configure it

<figure><img src="/files/0t7VCfS1YVYZdvsQ264I" alt=""><figcaption></figcaption></figure>

7. In DNS - Records, you can see Record, indicating that iSG CloudFlare has been added successfully.

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

8. In the iSG built-in home assistant, use File Editor to add the following information:

&#x20;       http: server\_port: 8123&#x20;

&#x20;       use\_x\_forwarded\_for: true&#x20;

&#x20;       trusted\_proxies:&#x20;

&#x20;                 \- 127.0.0.1

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

9. Restart Home Assistant, and then you can access it remotely via YourDomain


---

# 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://kb.linknlink.com/isg/using-isg/add-ons/optional-utility-add-ons/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.
