I am using open source streaming server Red5 on multiple servers. Which are running behind a bastion host.
the world knows these sites as
http://site1.mydomain.com http://site2.mydomain.com http://site3.mydomain.com http://site4.mydomain.com
To reach the front end server is using Apache Reverse Proxy.
I am also having video streaming on each of these websites using rtmp.
<embed ..... var="rtmp://site1.my_domain.com" >
the problem is the website are many
site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com
each on a separate physical server. Each of these four have their own Red5 installations the front end to each of these four is a common Bastion Host.
If I run rtmp on each of the subdomains at a different port
how will I make sure a request such as
goes to their respective servers. from the front end server. What do I need to handle in this case ?
IPTABLES came to mind instantly but from the client browser on internet when some one requests
how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests ?
© Server Fault or respective owner