There are two ways to join a node to a Teleport cluster:
- Join direct to Teleport auth server (port 3025)
Example using /etc/teleport.yaml
:
auth_servers:
- <teleport auth server>:3025
Example using teleport start
:
teleport start --roles=node --auth-server=<teleport auth server>:3025
When you join a node to a Teleport auth server (using port 3025
), then port 3022
must be open on the node to allow incoming connections from tsh ssh
. This is because there is no reverse tunnel established between the node and the Teleport cluster.
- Join via a Teleport proxy (port 3080)
Example using /etc/teleport.yaml
:
auth_servers:
- <teleport proxy server>:3080
Example using teleport start
:
teleport start --roles=node --auth-server=<teleport proxy server>:3080
When you join a node to a Teleport proxy server (using port 3080
), a reverse tunnel is established between the node and the Teleport cluster. Port 3022
does therefore NOT need to be open as all connections to the node can be made using the reverse tunnel.
If you change your node to join via the proxy server rather than the auth server then things should work as you expect with no need to open port 3022.