> For the complete documentation index, see [llms.txt](https://docs.kinwall.family/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kinwall.family/connecting-calendars/private-feeds.md).

# Private / LAN feeds

By default, Kinwall refuses to fetch calendar URLs that point at private or internal addresses: `localhost`, `*.local`, `*.internal`, `10.x`, `172.16–31.x`, `192.168.x`, `100.64–127.x` (CGNAT), link-local and IPv6 private ranges. This guards against server-side request forgery, where someone with an admin key could make the server probe your network.

## Self-hosted CalDAV/ICS on your LAN

To use a Radicale or Baïkal server at `192.168.x.x`, set:

```bash
ALLOW_PRIVATE_FEED_URLS=1
```

Then ICS and CalDAV URLs may point at private addresses. Error messages mention this: "Calendar URL must be a public http(s) address (self-hosted: set ALLOW\_PRIVATE\_FEED\_URLS=1 to reach a LAN server)".

## Caveats

* **Webhooks stay public-only**, even with this set.
* Anyone with an admin key can then make the server fetch internal URLs. Only enable it on a trusted network.
* The check looks at the literal host. On Workers there's no DNS lookup, so a public name that resolves to a private address isn't caught. It wouldn't be reachable from Cloudflare anyway.
* Redirects are checked hop by hop, so a public feed can't redirect into your LAN.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.kinwall.family/connecting-calendars/private-feeds.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
