# Access Settings from LAN

On this page, you can set access rules to Ruuvi Gateway from the local network. By default, the access is password protected using the default password (unique device ID which is printed on the bottom of Ruuvi Gateway).

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

If you wish, you can set your own username and password:

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

Or disable access by username/password:

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

You can also allow access without a password, but this is not recommended as it is not very secure:

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

It is also possible to access Ruuvi Gateway from LAN using bearer authentication with an API key (token). You can enable read-only access (to retrieve data in [Polling mode](/ruuvi-gateway-firmware/examples/polling-mode.md) via the /history endpoint) or read-write access (to read any data or change the configuration):

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


---

# 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.ruuvi.com/ruuvi-gateway-firmware/gateway-html-pages/access-settings-from-lan.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.
