# Culvert documentation

> Start with the [README](https://github.com/hyperi-io/culvert/blob/v2.1.32/README.md) for what culvert is and the
> five-minute `docker run`. This directory is everything past that.

Docs are grouped by what you are trying to do, not by feature.

## Connect a client

- [vpn-client-setup.md](/v/2.2.4/culvert/vpn-client-setup.md) - installing and connecting on
  macOS, Linux and Windows, plus the WireGuard mobile apps, for both protocols and for the
  HTTPS-tunnelled variants. This page ships inside the image as well, at
  `/etc/vpn/docs/`, so it is available on the server itself.

## Pick a deployment

Each of these is a full walkthrough - deploy, issue a client, operate it.
Home, corporate, travel and edge-fleet each match a `CULVERT_PROFILE=` preset,
and kubernetes is a deployment, not a profile. The `mobile` preset
(`profiles/mobile.yaml`) has no walkthrough: [performance.md](/v/2.2.4/culvert/performance.md)
covers what it changes.

- [use-case-home.md](/v/2.2.4/culvert/use-case-home.md) - home LAN or a lab VM. OpenVPN UDP,
  split tunnel, local PKI.
- [use-case-corporate.md](/v/2.2.4/culvert/use-case-corporate.md) - per-user certificates plus
  OIDC SSO, group gating, TCP fallback, offboarding.
- [use-case-travel.md](/v/2.2.4/culvert/use-case-travel.md) - the VPN over HTTPS, for networks
  that only pass web traffic. Includes what that does and does not defeat.
- [use-case-kubernetes.md](/v/2.2.4/culvert/use-case-kubernetes.md) - the published Helm chart,
  one replica: install values, the PKI volume, external PKI, probes, metrics.
- [use-case-edge-fleet.md](/v/2.2.4/culvert/use-case-edge-fleet.md) - an appliance fleet into a
  central receiver, with reverse admin back down the tunnels.
- [shared-storage.md](/v/2.2.4/culvert/shared-storage.md) - several OpenVPN instances on one
  PKI volume, and what is not safe to do at once.

## Understand a decision

- [architecture.md](/v/2.2.4/culvert/architecture.md) - what runs inside culvert, what it
  depends on, and why it's one container. The startup order, the iptables
  ordering and the PKI invariants are in CONTRIBUTING.md's Context section.
- [addressing.md](/v/2.2.4/culvert/addressing.md) - why the tunnels default to `10.8.0.0/22`,
  and when to move to the CGNAT range instead.
- [performance.md](/v/2.2.4/culvert/performance.md) - the cipher stance (AES-256-GCM the
  compliance default, ChaCha20 offered), what the tuning profiles change, and
  the host-side throughput levers (DCO, sysctl).
- [cryptography.md](/v/2.2.4/culvert/cryptography.md) - the CNSA 2.0 classical suite the
  OpenVPN path ships, and what is not there yet (ML-KEM, ML-DSA).

## For developers

- [supply-chain.md](https://github.com/hyperi-io/culvert/blob/v2.1.32/docs/supply-chain.md) - where every third-party binary comes
  from, what the build verifies, and what it does not.
- [ci-environment.md](https://github.com/hyperi-io/culvert/blob/v2.1.32/docs/ci-environment.md) - the secrets and variables CI needs.
- [scalo-reference.md](https://github.com/hyperi-io/culvert/blob/v2.1.32/docs/scalo-reference.md) - the scalo calls culvert makes.
  The [scalo repo](https://github.com/hyperi-io/scalo-py) is the API source of
  truth.

Filenames are lowercase-kebab because slugs are case-sensitive and static-site
generators lowercase them. Each doc covers one reader mode: follow a path, or
look a fact up.
