Connect the proxy through a corporate network
Get the proxy to reach Tellagen from behind a firewall, a web proxy or TLS inspection, with only one outbound address open.
The proxy only connects out, so you open no inbound port. Only its traffic to Tellagen goes through your web proxy. It reaches Grafana directly, unless you set a web proxy for Grafana too.
Steps
Open the way to Tellagen
Allow outbound TCP to connect.tellagen.com on port 443. The proxy also needs DNS and a way to Grafana. If a web proxy sits in the way, let it open a tunnel to that address.
Point the proxy at your web proxy
In the setup of the proxy, go to Run the command. Open My network needs a web proxy or a company certificate, type the address in Web proxy address, then list the hosts that skip it in Addresses that skip the web proxy (optional).
The command then sets
proxy.httpsProxyandproxy.noProxyfor Helm, orHTTPS_PROXYandNO_PROXYfor Docker and Compose.Add a login or a Grafana web proxy (optional)
The address field takes no password. If your web proxy wants a login, edit the command and write the address as
http://user:password@host:port. With Helm the login then sits in plain text in the Deployment, so keep that command out of shared history.If Grafana also sits behind a web proxy, set
proxy.grafanaHttpsProxyfor Helm, orGRAFANA_HTTPS_PROXYfor Docker and Compose.Trust your company certificate
If your network inspects TLS traffic, the proxy must trust the certificate that does it. It adds to the built-in certificates.
With Helm, put the certificate in a ConfigMap in the namespace tellagen, under the key ca.crt, then type its name in ConfigMap that holds your company CA.
Create the ConfigMap
kubectl -n tellagen create configmap corp-ca --from-file=ca.crt=./corp-ca.pemWith Docker or Compose, save the PEM file in the folder you run the command in, then type its name in File name of your company CA. Use only lower-case letters, digits, hyphens and dots, such as corp-ca.crt.
Limit the network paths (optional)
With Helm, you can turn on the chart's NetworkPolicy. Give
tellagen.cidrsthe address range of your web proxy andgrafana.tothe peers that serve Grafana.Helm values
proxy: httpsProxy: http://proxy.corp.example:3128 noProxy: .corp.example,10.0.0.0/8,.svc,.cluster.local caBundle: configMap: corp-ca key: ca.crt networkPolicy: enabled: true tellagen: cidrs: [192.0.2.0/24] ports: [3128] grafana: to: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: monitoring ports: [3000]With no
tellagen.cidrs, any address is allowed on those ports. With nografana.to, Grafana is blocked. With noingress.from, only node probes reach the proxy, so a ServiceMonitor can't scrape it.Check the connection
Run the doctor where the proxy runs, for example with Helm:
kubectl -n tellagen exec deploy/tellagen-proxy -- /tellagen-proxy doctor. Fix the first line that starts with[fail]. Read the proxy doctor output has the other commands and explains each line.
What happens next
- Once the proxy runs and no line fails, Settings shows it as Online, or Connected (short polling) behind a device that cuts long requests.
FAQs
The doctor says “the certificate is signed by an unknown authority”. What do I do?
A device on the path inspects traffic. Add its certificate as in the step above, or ask your network team to let connect.tellagen.com skip inspection. This line checks only the way to Tellagen.
The doctor says the web proxy “wants a login (407)” or blocks the address (403). What now?
For 407, add the login to the address of the web proxy, as in the optional step. For 403, ask the admin of your web proxy to allow connect.tellagen.com on port 443.
I set SSL_CERT_FILE, and now public sites fail. Why?
That variable replaces the built-in certificates. Remove it and use
TELLAGEN_CA_FILEandGRAFANA_CA_FILE, which add to them. The command sets both when you fill in the certificate field.I changed the certificate, and nothing changed. Why?
The proxy reads its certificates only when it starts. Restart the pods after the ConfigMap changes. A cert-manager trust-manager Bundle works the same way.
Our web proxy address starts with https:// or socks5://. Why does the doctor skip tls and auth?
The doctor probes only a web proxy whose address starts with http://. For any other kind it skips the checks that go through it. Read the log of the proxy, or check its status in Settings, to see whether it connects.
Related guides
Did this help?
Updated . Something out of date? Write to [email protected]. Open Markdown version