Additional ports to forward in HAProxy?
-
I have been using HAProxy for some time, but basically it is routing domain web traffic to the proper internal server. In addition to porting the standard HTTPS port 443, what if I wish to also port TCP ports 30000-30050 to a specific machine when coming for a specific domain? The site in question has numerous live video feeds and each feed is given its own port. Because the initial setup only routed traffic on 443, it would not also do the ports in 30000 range.
I made an educated guess on how to do this, but apparently either it doesn't work or I missed an important step. I first created an alias for this port range. I then created a new frontend on HAProxy with my WAN as the listen address and my alias for the ports. I then created a new backend that pointed to the "address+port" but left port blank, as it wouldn't accept my alias, nor would it accept a range. I then went back to my frontend and directed the domain to use that backend. I am not seeing any errors but it also isn't doing anything when trying to access my system from outside my network.
If it either can't be done or I'm omitting something important, please advise me, thanks.