The most common FDE day-one failure has nothing to do with your code: the software that ran perfectly in your cloud account cannot reach anything inside the customer's network. Enterprises route traffic through proxies, inspect TLS with their own certificate authorities, allow outbound traffic only to approved destinations, split DNS between inside and outside, and put everything behind single sign-on. This lesson explains each of those layers, how to diagnose which one is blocking you, and how to configure software, containers and Kubernetes to work with them rather than around them.
- Configure applications and containers for explicit HTTP proxies and NO_PROXY
- Diagnose TLS failures caused by inspecting proxies and private certificate authorities
- Request the right firewall and egress allowlist changes with precise details
- Reach internal systems through jump hosts and VPNs safely
- Explain how SSO with OIDC or SAML fits into an application you deploy
Proxies: the gate in front of the internet
Many enterprises do not let servers talk to the internet directly. Outbound HTTP and HTTPS must go through an explicit proxy: the client connects to the proxy and, for HTTPS, asks it to open a tunnel with the HTTP CONNECT method. Most tools read the conventional environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY (some only the lowercase forms), and requests to internal hosts must be excluded through NO_PROXY or they will be sent to the proxy, which cannot reach them.
export HTTPS_PROXY=http://proxy.corp.example:8080
export HTTP_PROXY=http://proxy.corp.example:8080
export NO_PROXY=localhost,127.0.0.1,.corp.example,10.0.0.0/8,.svc,.cluster.local
export https_proxy=$HTTPS_PROXY http_proxy=$HTTP_PROXY no_proxy=$NO_PROXY
curl -sv https://pypi.org/simple/ -o /dev/null 2>&1 | grep -E 'proxy|CONNECT|HTTP/'NO_PROXYsyntax varies by tool: suffixes like.corp.exampleare widely understood, CIDR ranges are not supported everywhere. Test each tool you rely on.- The Docker daemon needs its own proxy configuration to pull images; containers do not inherit the host's shell variables, so pass them explicitly.
- In Kubernetes, include the cluster's service and pod domains (
.svc,.cluster.local) and CIDRs inNO_PROXY, or in-cluster calls will be sent to the proxy and fail.
Firewalls, egress allowlists and DNS
Inbound and outbound traffic is filtered. Your software may need outbound access to your company's API, a model provider, a container registry or a package index, and the customer's network team must allow each one. They will need precise information: destination hostnames (not "the internet"), ports, protocol, direction, source hosts or subnets, and why. Ask early; firewall change processes can take weeks.
| Destination | Port | Purpose | Required when |
|---|---|---|---|
| api.yourproduct.example | 443/TCP | Product API and licence check | Always (unless fully air-gapped) |
| registry.yourproduct.example | 443/TCP | Container image pulls | Install and upgrades |
| llm.provider.example | 443/TCP | Hosted model inference | If not self-hosting models |
| telemetry.yourproduct.example | 443/TCP | Optional usage metrics | Only with customer approval |
Split-horizon DNS means the same name resolves differently inside and outside the network, and some internal names only exist on internal DNS servers. A container or pod using a different resolver than the host can fail to find internal services. When in doubt, check resolution from inside the container or pod with getent hosts and compare with the host.
Getting in: VPNs, jump hosts and access
Customers grant access in many forms: a VPN client, a virtual desktop, a bastion (jump) host you SSH through, a cloud console role, or screen-sharing where the customer types. Use exactly what is offered, and do not create side doors such as personal tunnels or reverse shells, even temporarily.
# one-off
ssh -J you@bastion.corp.example you@app01.internal.example
# ~/.ssh/config so plain 'ssh app01' works
cat >> ~/.ssh/config <<'EOF'
Host app01
HostName app01.internal.example
User you
ProxyJump you@bastion.corp.example
EOF- Prefer short-lived credentials and personal accounts over shared ones, so actions are attributable.
- Keep a written record of what access you have and request its removal when the engagement ends.
- Port-forward with
ssh -Lonly for the duration of a task, and only for ports you have been allowed to use.
Single sign-on and how users get in
Enterprise users expect to log in with their company identity, not a new password. The application you deploy should delegate authentication to the customer's identity provider (IdP), such as Microsoft Entra ID, Okta or Keycloak, using OIDC (OpenID Connect, built on OAuth 2.0, common for modern apps) or SAML (older, XML-based, still widespread).
- You register the application with the IdP and receive a client ID and secret (OIDC) or exchange metadata (SAML), plus a redirect or callback URL you configure exactly.
- Group or role claims in the token map to permissions in your app; agree the mapping with the customer.
- Clock skew, redirect URL mismatches and missing claims are the usual first-day errors; the IdP's sign-in logs usually say exactly which.
- Service-to-service calls use machine identities (client credentials, workload identity, mTLS), not a person's login; the integration lesson covers these.