Reverse Proxy

Hi Wowza,

Can the wowza server work behind a reverse proxy server and what would it take to establish this. Typically our organisation does not allow for application servers to be hosted directly on the Internet. All communications must go thru a reverse proxy. A file share method will not be allowed in our environment.

Also, how would the licensing affect this as we may need to install two copies of the same server.

Rakesh

Reverse proxy should work but I have never tried it. A Wowza Pro RTMP session is a single long TCP connection.

I am not sure why you would need to run two copies of Wowza Pro to accomplish this. Can you explain?

Charlie

Again, I have never tried this configuration. Wowza Pro does not include any reverser proxy functionality. You can ceratainly try using Apache as a reverse proxy.

Charlie

It doesn’t seem very practical. That would mean that Apache would have to proxy every single request. That is a ton of bandwith and not what a web server is used to delivering. Plus the RTMPT requests are occuring very quickly (polling mechanism). Seems like double the work.

Charlie

If you can find a way to split the traffic it might work. I have no experience with this kind of setup.

Charlie

What are you trying to accomplish?

Richard

What are you trying to do? You can’t proxy rtmp streams

Richard

You might be able to proxy RTMPT, since it is chunked over HTTP. You cannot have Wowza and a web server running on the same machine and using the same IP:port. They can use different IPs and each have port 80. To do that you replace the “*” in the first HostPort of /conf/VHost.xml with the IP you want Wowza to use, then make sure the web server only binds to a different IP.

Richard

Hi Charlie,

The application server is on one bo which is in the internal network. The reverse proxy is on another machine which is in the DMZ. Would the reverse proxy server, which is on its own box need to run Wowza Pro? Unless we can let an application server like apache handle this. Can you make a recommendation of how we can achieve this ?

Rakesh

I am also intrigued by this.

I have a single box (1 IP)

NGINX is serving a rails app on port 80. I can’t run WMS on port 80.

Do you think its advisable to use Nginx or HAProxy and setup reverse proxy to port 1935/etc to serve the streams over HTTP to the client.

Has anybody been able to configure Apache to reverse proxy to a Wowza server? If so, could someone post an example configuration?

Thanks,

Pierre

I was trying to avoid giving our Wowza servers public IPs by configuring the clients to connect to our Apache server, which is exposed to the public and configuring Apache to send anything on port 1925 to the Wowza server in the internal network.

After trying a few things and a bit of discussion, we decided to give our Wowza servers their own public IPs, which seems like the typical configuration.

I’m still curious if anyone has done what I was trying to do. It looks like the OP was trying to do the same thing.

Did somebody configure nginx as proxy to wowza?

Im tring to proxy RTMPT requests. I know that it is possible using nginx+red5

I want to have web server and rtmpt server on port 80