proxera
by wenisch.tech
Self-hosted reverse tunnel — expose LAN services to the internet over a secure WebSocket tunnel
About this chart
Proxera Helm Chart
Proxera is a self-hosted reverse tunnel that lets HTTP services running in a private LAN be exposed to the internet without opening inbound firewall rules.
This Helm chart deploys the Proxera Server to a Kubernetes cluster. The server exposes one application port, 8080, which serves both proxied traffic and the admin UI/API.
Prerequisites
- Kubernetes 1.20+
- Helm 3.0+
Installation
# Direct from chart source
helm install proxera ./charts/proxera -n proxera --create-namespace
With Ingress
helm install proxera ./charts/proxera -n proxera --create-namespace \
--set ingress.proxy.enabled=true \
--set ingress.proxy.className=nginx \
--set "ingress.proxy.hosts[0].host=proxy.example.com" \
--set "ingress.proxy.hosts[0].paths[0].path=/" \
--set "ingress.proxy.hosts[0].paths[0].pathType=Prefix" \
--set ingress.admin.enabled=true \
--set ingress.admin.className=nginx \
--set "ingress.admin.hosts[0].host=admin.proxera.example.com" \
--set "ingress.admin.hosts[0].paths[0].path=/" \
--set "ingress.admin.hosts[0].paths[0].pathType=Prefix"
With PostgreSQL
helm install proxera ./charts/proxera -n proxera --create-namespace \
--set env.DB_HOST="postgres" \
--set env.DB_NAME="proxera" \
--set env.DB_USER="proxera" \
--set secrets.DB_PASSWORD="your-password"
Multi-Pod with Bundled Redis
helm install proxera ./charts/proxera -n proxera --create-namespace \
--set replicaCount=3 \
--set redis.enabled=true
This deploys a single in-cluster Redis instance for convenience. It enables multi-pod Proxera routing, but the Redis tier itself is not highly available.
Multi-Pod with External Redis
helm install proxera ./charts/proxera -n proxera --create-namespace \
--set replicaCount=3 \
--set redis.host="redis" \
--set redis.port=6379
HA Setup
For actual high availability, configure all of the following:
- Use PostgreSQL for the application database. The default embedded H2 mode is suitable for single-pod setups, not multiple Proxera replicas.
- Run more than one Proxera replica, either with
replicaCount > 1or with HPA plusminReplicas > 1. - Enable Redis Pub/Sub, either with
redis.enabled=truefor the bundled in-cluster Redis or withredis.hostpointing at an external Redis service. - For production-grade HA, prefer an external Redis service with its own replication/failover. The bundled Redis is a single pod.
- If the admin UI is load-balanced across multiple replicas, enable sticky sessions on the admin ingress or otherwise ensure session affinity. The admin login uses server-side form-login sessions.
Recommended production pattern:
helm install proxera ./charts/proxera -n proxera --create-namespace \
--set replicaCount=3 \
--set env.DB_HOST="postgres" \
--set env.DB_NAME="proxera" \
--set env.DB_USER="proxera" \
--set secrets.DB_PASSWORD="your-password" \
--set redis.enabled=true
If you already operate Redis separately, keep redis.enabled=false and set redis.host instead.
Configuration
See values.yaml for all available options.
Notable values:
proxy.requestTimeout: server-side timeout for one proxied HTTP request waiting on an agent response. Defaults to120s.
License
Deploy proxera with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has proxera on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartproxera is pinned at v0.12.20 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply