bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
693 stars 117 forks source link

Working without xrdp? #81

Closed fix-dev closed 3 months ago

fix-dev commented 9 months ago

Hi ! Is xrdp necessary in the work ? I have the following configuration: windows client (internet connect)- > linux (sssd + pam, and rdpgw with local Authentication: local) -> PC (windows client) In this configuration, I can't connect to a PC.


 Authentication: 
  - local
 AuthSocket: /tmp/rdpgw-auth.sock
 Tls: auto
 CertFile: /opt/rdpgw/server.pem
 KeyFile: /opt/rdpgw/key.pem
 GatewayAddress: 0.0.0.0
 Port: 4443
 Hosts:
# Is it necessary??????  
  - xrdp:3389 
RoundRobin: false
HostSelection: any
 SessionKey: thisisasessionkeyreplacethisjetztqw
 SessionEncryptionKey: thisisasessionkeyreplacethisnunuqq
Caps:
 SmartCardAuth: false
 TokenAuth: false
 IdleTimeout: 10
 EnablePrinter: true
 EnablePort: true
 EnablePnp: true
 EnableDrive: true
 EnableClipboard: true
Client:
  UsernameTemplate: "{{ username }}\x1f{{ token }}"
  NetworkAutoDetect: 0
  BandwidthAutoDetect: 1
  ConnectionType: 6
  SplitUserDomain: false
Security:
  PAATokenSigningKey: thisisasessionkeyreplacethisjetzt
  EnableUserToken: false
  VerifyClientIp: false ```
bolkedebruin commented 3 months ago

xrdp is not required. You can remove the username template for Windows as that will not work there.