tor-proxy

by harish2k01

Helm chartv0.1.3App latestMITVerified publisher

Deploys a Tor SOCKS proxy on Kubernetes

About this chart

Tor Proxy Helm Chart

Browse the Helm chart catalog to explore available charts and installation commands.

This chart deploys peterdavehello/tor-socks-proxy, a small Tor SOCKS proxy, on Kubernetes.

[!NOTE] This is an unofficial community Helm chart maintained by harish2k01. It is not affiliated with or endorsed by the upstream project. For chart issues, questions, or improvements, please open an issue in the harish2k01/helm-charts repository.

Install

helm repo add harish2k01 https://harish2k01.github.io/helm-charts
helm repo update
helm install tor-proxy harish2k01/tor-proxy

Install From OCI

This chart is also published as an OCI chart in GHCR. Use the same values and namespace flags with the OCI reference:

helm install tor-proxy oci://ghcr.io/harish2k01/helm-charts/tor-proxy --version 0.1.3

By default, this chart creates an internal ClusterIP Service only.

In-Cluster URL

Applications in the same namespace can use:

socks5h://tor-proxy:9150

Applications in other namespaces can use:

socks5h://tor-proxy.<namespace>.svc.cluster.local:9150

Use socks5h when the client supports it so DNS resolution also goes through the proxy.

Values

KeyTypeDefaultDescription
replicaCountint1Number of Tor proxy replicas
image.repositorystringpeterdavehello/tor-socks-proxyContainer image repository
image.tagstringlatestContainer image tag
image.pullPolicystringAlwaysContainer pull policy
envobject{}Environment variables passed to the container
envFromlist[]envFrom entries for ConfigMaps or Secrets
service.typestringClusterIPKubernetes Service type
service.portint9150Kubernetes Service port
service.targetPortint9150Tor SOCKS container port
service.annotationsobject{}Service annotations
extraContainerPortslist[]Additional container ports
commandlist[]Optional command override
argslist[]Optional args override
extraVolumeslist[]Additional pod volumes
extraVolumeMountslist[]Additional container volume mounts
resourcesobject{}Container resource requests and limits
livenessProbeobjectTCP probe on socksLiveness probe configuration
readinessProbeobjectTCP probe on socksReadiness probe configuration
nodeSelectorobject{}Pod node selector
tolerationslist[]Pod tolerations
affinityobject{}Pod affinity

Deploy tor-proxy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tor-proxy 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttor-proxy is pinned at v0.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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