Sign inSign up

archef2000/rdpgw

By archef2000

Updated over 3 years ago

Image
0

3.6K

archef2000/rdpgw repository overview

RDPGW docker container

A easy setup of the rdpgw docker container from bolkedebruin.

Docker Compose

version: '3.3'
services:
  rdpgw:
    container_name: rdpgw
    image: archef2000/rdpgw
    environment:
      - 'SES_KEY=thisisasessionkeyreplacethisjetzt'
      - 'SES_ENC=thisisasessionkeyreplacethisnunu!'
      - 'PAA_SIG=thisisasessionkeyreplacethisjetzt'
      - 'PAA_ENC=thisisasessionkeyreplacethisjetzt'
      - 'OIDC_URL=http://keycloak:8080/auth/realms/rdpgw'
      - 'OIDC_ID=rdpgw'
      - 'OIDC_SEC=01cd304c-6f43-4480-9479-618eb6fd578f'
      - 'GW_ADD=localhost:9443'
      - 'LISTEN_PORT=9443'
      - 'AUTH=OIDC'
      - 'ALLOWED_HOSTS=xrdp:3389'
    ports:
      - '9443:9443/tcp'
    restart: on-failure

Docker run

docker run -d \
	-e SES_KEY=thisisasessionkeyreplacethisjetzt \
	-e SES_ENC=thisisasessionkeyreplacethisnunu! \
	-e PAA_SIG=thisisasessionkeyreplacethisjetzt \
	-e PAA_ENC=thisisasessionkeyreplacethisjetzt \
	-e OIDC_URL="http://keycloak:8080/auth/realms/rdpgw" \
	-e OIDC_ID="rdpgw" \
	-e OIDC_SEC="01cd304c-6f43-4480-9479-618eb6fd578f" \
	-e GW_ADD=localhost:9443 \
	-e LISTEN_PORT=9443 \
	-e AUTH=OIDC \
	-e ALLOWED_HOSTS=xrdp:3389 \
	-p 9443:9443/tcp \
	--restart=on-failure \
	--name rdpgw \
	archef2000/rdpgw

Variables,

Environment Variables

VariableRequiredFunctionExample
SES_KEYyesSets the SessionKey in the config fileSES_KEY=thisisasessionkeyreplacethisjetzt
SES_ENCyesSets the SessionEncryptionKey in the config fileSES_ENC=thisisasessionkeyreplacethisnunu!
PAA_SIGyesSets the PAATokenSigningKey in the config filePAA_SIG=thisisasessionkeyreplacethisjetzt
PAA_ENCyesSets the PAATokenEncryptionKey in the config filePAA_ENC=thisisasessionkeyreplacethisjetzt
OIDC_URLyesIf AUTH is set to OIDC this sets the AUTH entpointOIDC_URL="http://keycloak:8080/auth/realms/rdpgw"
OIDC_IDyesOIDC client IDOIDC_ID="rdpgw"
OIDC_SECyesOIDC client secretOIDC_SEC="01cd304c-6f43-4480-9479-618eb6fd578f"
GW_ADDyesAddress that is reachable and is set in the OIDC providerGW_ADD=localhost:9443
ALLOWED_HOSTSyeslist of hosts that a client is allowed to reachALLOWED_HOSTS="xrdp:3389,xrdp2:3389"
LISTEN_PORTnoPort to listen onLISTEN_PORT=9443
AUTHnoOIDC or localAUTH=OIDC

Ports

PortProtoRequiredFunctionExample
9443TCPYesrdpgw server TCP listening port9443:9443/tcp

Tag summary

Content type

Image

Digest

sha256:4cc3cf784

Size

18.4 MB

Last updated

over 3 years ago

docker pull archef2000/rdpgw