Expected behavior:
Application tunnels should work properly if Teleport is run behind an L7 load balancer, such as an AWS ALB.
Current behavior:
Running a plain app tunnel when Teleport is behind an L7 LB (specifically, an AWS ALB) starts as expected:
$ tsh start application-tunnel ...
...but all requests to the the resulting application return the Teleport login page, indicating mTLS credentials were not passed back to Teleport as expected.
The bot itself is able to authenticate properly and performs necessary connection upgrades to establish a connection to the auth service. Only app tunnels don't work - though other resource proxy types may also be broken.
Bug details:
- Teleport version: tbot v18.3.2
- Recreation steps
- Debug logs