{"id":22397148,"url":"https://github.com/archef2000/rdpgw","last_synced_at":"2025-03-26T23:20:44.017Z","repository":{"id":63439282,"uuid":"567922451","full_name":"archef2000/rdpgw","owner":"archef2000","description":"RDP docker container","archived":false,"fork":false,"pushed_at":"2022-11-30T10:10:13.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T05:14:12.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/archef2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-18T22:53:43.000Z","updated_at":"2024-06-22T16:49:29.000Z","dependencies_parsed_at":"2023-01-22T07:18:06.895Z","dependency_job_id":null,"html_url":"https://github.com/archef2000/rdpgw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archef2000%2Frdpgw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archef2000%2Frdpgw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archef2000%2Frdpgw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archef2000%2Frdpgw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/archef2000","download_url":"https://codeload.github.com/archef2000/rdpgw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245750370,"owners_count":20666167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T06:11:00.040Z","updated_at":"2025-03-26T23:20:43.992Z","avatar_url":"https://github.com/archef2000.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RDPGW docker container\nA easy setup of the rdpgw docker container from [bolkedebruin](https://github.com/bolkedebruin/rdpgw).\n\n# Docker Compose\n```\nversion: '3.3'\nservices:\n  rdpgw:\n    container_name: rdpgw\n    image: archef2000/rdpgw\n    environment:\n      - 'SES_KEY=thisisasessionkeyreplacethisjetzt'\n      - 'SES_ENC=thisisasessionkeyreplacethisnunu!'\n      - 'PAA_SIG=thisisasessionkeyreplacethisjetzt'\n      - 'PAA_ENC=thisisasessionkeyreplacethisjetzt'\n      - 'OIDC_URL=http://keycloak:8080/auth/realms/rdpgw'\n      - 'OIDC_ID=rdpgw'\n      - 'OIDC_SEC=01cd304c-6f43-4480-9479-618eb6fd578f'\n      - 'GW_ADD=localhost:9443'\n      - 'LISTEN_PORT=9443'\n      - 'AUTH=OIDC'\n      - 'ALLOWED_HOSTS=xrdp:3389'\n    ports:\n      - '9443:9443/tcp'\n    restart: on-failure\n```\n\n# Docker run\n```\ndocker run -d \\\n\t-e SES_KEY=thisisasessionkeyreplacethisjetzt \\\n\t-e SES_ENC=thisisasessionkeyreplacethisnunu! \\\n\t-e PAA_SIG=thisisasessionkeyreplacethisjetzt \\\n\t-e PAA_ENC=thisisasessionkeyreplacethisjetzt \\\n\t-e OIDC_URL=\"http://keycloak:8080/auth/realms/rdpgw\" \\\n\t-e OIDC_ID=\"rdpgw\" \\\n\t-e OIDC_SEC=\"01cd304c-6f43-4480-9479-618eb6fd578f\" \\\n\t-e GW_ADD=localhost:9443 \\\n\t-e LISTEN_PORT=9443 \\\n\t-e AUTH=OIDC \\\n\t-e ALLOWED_HOSTS=xrdp:3389 \\\n\t-p 9443:9443/tcp \\\n\t--restart=on-failure \\\n\t--name rdpgw \\\n\tarchef2000/rdpgw\n```\n\n# Variables,\n## Environment Variables\n| Variable | Required | Function | Example |\n|----------|----------|----------|----------|\n|`SES_KEY`|yes|Sets the SessionKey in the config file|`SES_KEY=thisisasessionkeyreplacethisjetzt`|\n|`SES_ENC`|yes|Sets the SessionEncryptionKey in the config file|`SES_ENC=thisisasessionkeyreplacethisnunu!`|\n|`PAA_SIG`|yes|Sets the PAATokenSigningKey in the config file|`PAA_SIG=thisisasessionkeyreplacethisjetzt`|\n|`PAA_ENC`|yes|Sets the PAATokenEncryptionKey in the config file|`PAA_ENC=thisisasessionkeyreplacethisjetzt`|\n|`OIDC_URL`|yes|If AUTH is set to OIDC this sets the AUTH entpoint|`OIDC_URL=\"http://keycloak:8080/auth/realms/rdpgw\"`|\n|`OIDC_ID`|yes|OIDC client ID|`OIDC_ID=\"rdpgw\"`|\n|`OIDC_SEC`|yes|OIDC client secret|`OIDC_SEC=\"01cd304c-6f43-4480-9479-618eb6fd578f\"`|\n|`GW_ADD`|yes|Address that is reachable and is set in the OIDC provider|`GW_ADD=localhost:9443`|\n|`ALLOWED_HOSTS`|yes|list of hosts that a client is allowed to reach|`ALLOWED_HOSTS=\"xrdp:3389,xrdp2:3389\"`|\n|`LISTEN_PORT`|no|Port to listen on|`LISTEN_PORT=9443`|\n|`AUTH`|no|OIDC or local|`AUTH=OIDC`|\n\n## Ports\n| Port | Proto | Required | Function | Example |\n|----------|----------|----------|----------|----------|\n| `9443` | TCP | Yes | rdpgw server TCP listening port | `9443:9443/tcp`|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchef2000%2Frdpgw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchef2000%2Frdpgw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchef2000%2Frdpgw/lists"}