Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4759

Mode TCP domain acl

$
0
0

Hello, i need help :confused: !
I try to proxying my rdp virtual machine on proxmox
this is my current configuration of haproxy.
i know in tcp mode acl with hdr(host) not work because we not use http.
So how can i do for in function of the dns i ask be redirected to the good backend ?

thanks


frontend rdp
  mode tcp
  bind *:3389
  acl kali-200 req.payload(0,4) -m str kali.x.fakdomain
  acl windows-300 req.payload(0,4) -m str sli.x.fakdomain
  use_backend windows if windows-300
  use_backend kali if kali-200


backend kali
  mode tcp
  server kali-200 192.168.1.5:3389

backend windows
  mode tcp
  server windows-300 192.168.1.20:3389

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4759


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>