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
17.42k stars 1.74k forks source link

Machine ID: Support for split proxy address operation #45274

Open strideynet opened 1 month ago

strideynet commented 1 month ago

Sometimes, tbot will need to connect to the proxy using an address that is not the address that the proxy itself thinks it is available on. Whilst the initial connection may succeed, tbot will then use the results from the proxy ping in making other connections, and this will fail. Currently, this is mostly just a problem for Application Access Tunnel since that requires the Web port and not the reverse tunnel as most other functionality requires (and which is already handled via TELEPORT_TUNNEL_PUBLIC_ADDR)

Options:

webvictim commented 1 month ago

Issue reference for more details on TELEPORT_TUNNEL_PUBLIC_ADDR (as this isn't documented): https://github.com/gravitational/teleport/issues/27885