Skip to content

SNI based dynamic forward proxy support #8787

Closed

Description

@jlephay

Description:

Envoy supports Server Name Indication (SNI) based dynamic forward proxy through a combination of tls_inspector listener filter, sni_dynamic_forward_proxy filter and sni_dynamic_forward_proxy cluster. The implementation works just like the HTTP dynamic forward proxy, but using the value in SNI as target host instead. A full exemple is available here

It's not possible to replicate such a setup with EnvoyGateway right now because we can't use "DynamicResolver" type Backend with TLSroute, you can only use "Endpoints" type Backend.

Dynamic Forwarding based on SNI should be supported with a config like this:

---
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: Backend
metadata:
  name: test
spec:
  type: DynamicResolver
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TLSRoute
metadata:
  name: test
spec:
  parentRefs:
    - name: test
  hostnames:
    - "<HOSTNAME1>"
    - "<HOSTNAME2>"
    - "<HOSTNAME3>"
  rules:
    - backendRefs:
      - group: gateway.envoyproxy.io
        kind: Backend
        name: test

Activity

  1. arkodg commented on Apr 19, 2026

    @arkodg
    Contributor
  2. added
    kind/feature
    and removed on Apr 20, 2026
  3. guydc commented on Apr 27, 2026

    @guydc
    Contributor

    Sounds reasonable to me, +1.

  4. added this to the Backlog milestone on Apr 27, 2026
  5. added
    help wanted
    on Apr 27, 2026
  6. removed
    help wanted
    on Jun 8, 2026
  7. github-actions commented on Jul 8, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  8. added a commit that references this issue on Jul 25, 2026
    fb89033
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions