oci-ts-derp
A self-hosted Tailscale DERP relay on your own K3s cluster — ACME-issued TLS and Traefik passthrough routing. Faster, private relays instead of Tailscale's shared public fleet.
Product Information
Summary ↑
oci-ts-derp is the Tailscale DERP relay module of the Easier Web catalog — a self-hosted DERP
relay running as a Kubernetes workload, built on top of an existing
oci-k3s deployment.
You get full Terraform source code, a dev container for zero-setup onboarding, and a kubectl tunnel helper. This module gets you a self-hosted Tailscale relay node — useful when the public DERP network's default relays aren't fast or reliable enough for your traffic.
Who it is for:
oci-k3scustomers on Tailscale who want a low-latency, self-hosted relay instead of depending on Tailscale's shared public DERP fleet- Teams with strict data-locality requirements who want relay traffic terminating on infrastructure they control
- Technical founders who want infrastructure-as-code they fully own (perpetual license, no subscription, your own OCI account) rather than a managed platform
Details ↑
What Is Included
Infrastructure (Terraform)
- DERP relay Deployment — runs a prebuilt
derpercontainer image in your K3s cluster - cert-manager Certificate — ACME-issued TLS certificate for your relay's hostname
- Traefik
IngressRouteTCP— TLS-passthrough routing for the DERP protocol's raw TCP port
Scripts and Tooling
- kubectl tunnel — one command to open a local port-forward to the cluster's API server over the OCI bastion
Dev Container
A pre-built development container (.devcontainer/) with Terraform, kubectl, and the OCI CLI
already installed. Clone the repo, open it in VS Code or GitHub Codespaces, and start deploying —
no local toolchain setup required.
Documentation
- Step-by-step deployment guide for the Terraform module
- The Tailscale admin-console JSON snippet needed to register the relay
- Makefile with named targets for every common operation — no need to remember command-line arguments
Pricing and License
One-time purchase, no subscription.
You receive repository access upon purchase, along with a perpetual license to use and modify the Software. There's no subscription and no recurring fees. Your cloud infrastructure runs in your own OCI account using your own credentials — there are no usage fees, no data sent to us, and no per-seat charges.
Your license is perpetual and doesn't depend on continued access: repository access, updates, and the Discussions forum are services we may wind down (Section 12, "Term; Discontinuation of Access and Support", of the Software License Agreement). Keep your own clone of the repository once you have access, and it's yours to use regardless.
Full license terms are available on this product page and must be accepted at checkout.
Community and Support
After purchase you get access to a private GitHub Discussions forum in the repository. Use it to ask questions, share how you've extended the module, or discuss your setup. We participate actively.
Privacy
The software runs entirely within your own cloud account. We have no access to your environment, your data, or your infrastructure. No telemetry, no callbacks, no third-party analytics.
Dependencies ↑
Prerequisites: an existing oci-k3s deployment with Traefik and cert-manager reachable (the
oci-k3s module, or your own equivalent cluster). Basic familiarity with Terraform and Kubernetes
is helpful but not required — the documentation walks through every step.
Tech Stack
| Layer | Technology |
|---|---|
| Cloud provider | Oracle Cloud Infrastructure |
| Kubernetes distribution | K3s |
| Ingress | Traefik (bundled with K3s) |
| TLS issuance | cert-manager (ACME) |
| Relay software | Tailscale DERP (derper) |
| Infrastructure provisioning | Terraform |