Teleport
Docker installation
Requirements
-
Create folder
teleport
in your docker folder. -
Create subfolder
data
andconfig
Installation
-
Generate configuration file of teleport from your docker host.
docker run --hostname localhost --rm \ --entrypoint=/usr/local/bin/teleport \ public.ecr.aws/gravitational/teleport-distroless:14.2.3 configure --roles=proxy,auth > yourpath/docker/teleport/config/teleport.yaml
Warning
Don't forget to put your personal path in the end of the command.
-
Run docker
Change
public.ecr.aws/gravitational/teleport:13.4.13
with the latest stable version. -
If you need, create DNS record and reverse proxy redirection to
https://your_docker_host_ip:3080
. -
Check if container is running
Create user
-
Connect into docker.
-
Create user with all role.
-
Copy/Paste the URL display in the terminal into your browser.
-
Create strong password and setup OTP code.
-
Now, you can access the web page at https://teleport.yourdoamine.fr or
https://<docker_host_ip>:3080
.
Edit the yaml for allow your dns name
It is necessary to edit the yaml file to allow your dns name teleport.yourdoamine.fr
.
-
Connect into docker.
-
Open yaml configuration file.
-
Add the below code under
proxy_service:
section. -
Save, ESC.
-
Exit docker container console and restart the container.
!!NOT WORKING!! Edit timeout idle
-
Connect into docker.
-
Open yaml configuration file.
-
Add the below code under
auth_service:
section. -
Save, ESC.
5. Exit docker container console and restart the container.