Hi, I'm looking for an "easy" way to setup simple tcp port-forwarding with haproxy alongside normal load-balancing. Thing is, the incoming ports are random within 5900-6000 so I need to forward the same incoming port to the backend(s). I tried doing this with a "listen" directive and with "frontend"/"backend" setups but couldn't get it to work properly. The haproxy server can "bind" on these ports just fine, I just need to make sure that the incoming connection is forwarded to the same port on the backend-servers. Has someone else done something like this?
TCP: 5972 -> haproxy-server -> TCP: 5972 backend-server As you may see it's for pushing VNC-connections through haproxy because all other traffic is going through there as well. I'm using "balance src" so I'm not that fussed about "sessions" or "state" at this point. Any info or pointers are much appreciated. Timh Bergström www.quickvz.com