gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17k stars 1.71k forks source link

Document how and when to use the 'TELEPORT_TUNNEL_PUBLIC_ADDR' environment variable. #19276

Open philip-teleport opened 1 year ago

philip-teleport commented 1 year ago

Applies To

Document the use of the TELEPORT_TUNNEL_PUBLIC_ADDR environment variable.

Details

PR 8961 changed the tunnelAddr logic so that only the public_proxy_addr and webProxy addresses are used as tunnel address if TLS Routing is enabled. However the TELEPORT_TUNNEL_PUBLIC_ADDR environment variable allows you specify an alternative reverse tunnel address but this is not documented.

Related Issues

None

pschisa commented 1 year ago

This is a valuable setting if looking to connect agents to an alternative endpoint from users with the use of multiple public_addr and TLS routing