Haproxy for DVR application backend

Hi Folks

I have a CCTV DVR I want to use haproxy to reverse proxy. The DVR uses the following ports
TCP554
TCP7070
TCP8554
UDP554
TCP443 (ssl/tls)

Could someone advise how I can set this up. I have a haproxy in production for some websites but these are very simple single port applications.

any advice or configs appreciated! :slight_smile:

cheers,
Dom

You cannot reverse-proxy UDP, haproxy does not support UDP at all.

I assume the main video stream is UDP, which makes this setup pretty much impossible.

Other than that, you would just forward those to the destination server, like:

listen cctv-554
bind *:554
server dvr 192.168.1.99:554 maxconn 32
listen cctv-7070
bind *:7070
server dvr 192.168.1.99:7070 maxconn 32
listen cctv-8554
bind *:8554
server dvr 192.168.1.99:8554 maxconn 32
listen cctv-443
bind *:443
server dvr 192.168.1.99:443 maxconn 32

Thanks for that much appreciated