multiple streaming servers in a cloud
Ok I got some solution so posting here it should help some one else.
To do with a single Public IP address. It requires either port redirection or layer7 firewalls/reverse proxies such as SOCKS or perhaps Squid. One way is to run these streaming servers at different ports as rtmp://site1.mydomain:8888 ---> your public IP address port 8888 which then hits the firewall and is redirected: publicIP port 8888 -----> privateip 192.168.0.1 port1935 rtmp://site2.mydomain:9999 ---> your public IP address port 9999 which then hits the firewall and is redirected: publicIP port 9999 -----> privateip 192.168.0.2 port1935 Simple to do and works well. But in this case when I would like to try Layer 7 proxies / firewall have to look at the url requested and then So if some one has got close to this one some idea let me know now. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam |
multiple streaming servers in a cloud
Ok I got some solution so posting here it should help some one else.
To do with a single Public IP address. It requires either port redirection or layer7 firewalls/reverse proxies such as SOCKS or perhaps Squid. One way is to run these streaming servers at different ports as rtmp://site1.mydomain:8888 ---> your public IP address port 8888 which then hits the firewall and is redirected: publicIP port 8888 -----> privateip 192.168.0.1 port1935 rtmp://site2.mydomain:9999 ---> your public IP address port 9999 which then hits the firewall and is redirected: publicIP port 9999 -----> privateip 192.168.0.2 port1935 Simple to do and works well. But in this case when I would like to try Layer 7 proxies / firewall have to look at the url requested and then So if some one has got close to this one some idea let me know now. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
multiple streaming servers in a cloud
Finally got the solution.
If some one comes across here http://permalink.gmane.org/gmane.comp.emulators.xen.user/60859 should help him. On Mon, Aug 9, 2010 at 1:02 PM, Tapas Mishra <mightydreams@gmail.com> wrote: > Hi, > > I am using Ubuntu 10.04 > and Red5 as streaming server. I have multiple video streaming servers > running on some machines > internally on LAN. > For different subdomains. > i.e. > site1.mydomain.com > site2.mydomain.com > site3.mydomain.com > site4.mydomain.com > > > > The front end to the world is apache2 on a Bastion Host. > I do not have a DNS running over there. > > > To be able to reach the streaming server I > embed a javascript in HTML pages > as follows > Code: > > <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 streaming servers 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 > rtmp://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 handling HTTP requests in this case I use Apache Reverse Proxy > but for rtmp requests I am not clear as which direction to proceed. > > > > > -- > Tapas > -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam |
| All times are GMT. The time now is 11:52 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.