tapas_mishra
August 8th, 2010, 06:05 PM
I have multiple Red5 (http://code.google.com/p/red5/) servers running on some machines internally on LAN.
For different subdomains.Ubuntu 10.04
The front end to the world is apache2 on a Bastion Host.
To be able to reach the streaming server I
embed a javascript in HTML pages
as follows
<embed .....
var="rtmp://site1.m (http://ocw.openitup.in/)y_domain.com (http://y_domain.com/)"
>
the problem is the website are many
site1.mydomain.com (http://site1.mydomain.com/)
site2.mydomain.com (http://site2.mydomain.com/)
site3.mydomain.com (http://site3.mydomain.com/)
site4.mydomain.com (http://site4.mydomain.com/)
each on a separate physical server.
Each of these four have their own Red5 (http://code.google.com/p/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
rtmp://site1.mydomain.com (http://site1.mydomain.com/)
rtmp://site2.mydomain.com (http://site2.mydomain.com/)
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
rtmp://site1.mydomain.com
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
?
For different subdomains.Ubuntu 10.04
The front end to the world is apache2 on a Bastion Host.
To be able to reach the streaming server I
embed a javascript in HTML pages
as follows
<embed .....
var="rtmp://site1.m (http://ocw.openitup.in/)y_domain.com (http://y_domain.com/)"
>
the problem is the website are many
site1.mydomain.com (http://site1.mydomain.com/)
site2.mydomain.com (http://site2.mydomain.com/)
site3.mydomain.com (http://site3.mydomain.com/)
site4.mydomain.com (http://site4.mydomain.com/)
each on a separate physical server.
Each of these four have their own Red5 (http://code.google.com/p/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
rtmp://site1.mydomain.com (http://site1.mydomain.com/)
rtmp://site2.mydomain.com (http://site2.mydomain.com/)
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
rtmp://site1.mydomain.com
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
?