Posted On March 29, 2019

HaProxy RDP Forwarding

kimconnect 2 comments
blog.KimConnect.com >> Codes , Linux >> HaProxy RDP Forwarding
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

PortNumber = 000001BB

frontend fe_rdp_tsc
  bind 0.0.0.0:443 name rdp_web ssl crt kimconnect.com.pem
  mode http
  
  log global
  option httplog
  
  maxconn 1000
  acl path_rdweb path_beg -i /RDWeb/
  http-request redirect location /RDWeb/ if { path -i / /RDWeb }
  http-request deny unless path_rdweb
  default_backend be_rdp_tsc

backend rdp
  balance leastconn
	timeout client 300s
	capture request header Host len 32
  timeout connect 4s
  timeout server 300s
  option httpchk GET /
  cookie RDPWEB insert nocache
  default-server inter 3s    rise 2  fall 3
  server srv01 10.10.10.4:443 maxconn 1000 weight 10 ssl check cookie srv01

2 thoughts on “HaProxy RDP Forwarding”

    • Hi Robert,

      Thank you for your confidence and the offer for an opportunity to work with your team. I regret to say that I’m currently out of the job market, employed with specialization in a different domain. As tech changes at a rapid pace, this 10+ years old experience is probably outdated and invalid for current tech stacks. On the same token, I would advise you gratis of charge. Feel free to send me direct emails to [email protected] with a generic scenario, and I’ll see if I can search my notes for a solution usable for your environment.

      Best Regards,
      Kim

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Setting Trace Logging for MS Dynamics CRM

Function 1: Set CRM Tracing # crmTraceLogSettings.ps1 $traceDirectory="L:\crmTraceLogs" $enable=$false $categories='*:\Verbose' $fileSize=10 $resetIis=$true function setCrmTrace{ param…

PowerShell: File Server Cluster Migration Scripts

<# File-Server-Migration-Intra-Domain.ps1 Purposes: 1. Create Volumes with Labels 2. Create Virtual Clustered File Servers 3.…

PowerShell Commands to Install the NTFSSecurity Module

Background information:- NTFS code is hosted on Github: https://codeload.github.com/raandree/NTFSSecurity/zip/refs/heads/master- Find module path with this command:…