# Reverse Proxy

**URL:** <https://community.wowza.com/t/reverse-proxy/335>\
**Category:** Wowza Streaming Engine\
**Created:** [April 19, 2008, 6:23am UTC](https://community.wowza.com/t/reverse-proxy/335 "2008-04-19T06:23:58Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [April 19, 2008, 6:23am UTC](https://community.wowza.com/t/reverse-proxy/335/1 "2008-04-19T06:23:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [April 19, 2008, 10:29am UTC](https://community.wowza.com/t/reverse-proxy/335/2 "2008-04-19T10:29:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [April 20, 2008, 8:19am UTC](https://community.wowza.com/t/reverse-proxy/335/3 "2008-04-20T08:19:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 22, 2009, 4:36pm UTC](https://community.wowza.com/t/reverse-proxy/335/4 "2009-10-22T16:36:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 30, 2009, 4:00am UTC](https://community.wowza.com/t/reverse-proxy/335/5 "2009-10-30T04:00:06Z")

</div>

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

Charlie

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 21, 2009, 8:24pm UTC](https://community.wowza.com/t/reverse-proxy/335/6 "2009-10-21T20:24:44Z")

</div>

What are you trying to accomplish?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 24, 2012, 2:27pm UTC](https://community.wowza.com/t/reverse-proxy/335/7 "2012-10-24T14:27:56Z")

</div>

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

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 25, 2012, 3:26pm UTC](https://community.wowza.com/t/reverse-proxy/335/8 "2012-10-25T15:26:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Rakesh\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@Rakesh\_Gupta](https://community.wowza.com/u/Rakesh_Gupta)\
**Post date:** [April 20, 2008, 2:35pm UTC](https://community.wowza.com/t/reverse-proxy/335/9 "2008-04-20T14:35:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Akshay\_Dodeja](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@Akshay\_Dodeja](https://community.wowza.com/u/Akshay_Dodeja)\
**Post date:** [October 29, 2009, 9:22pm UTC](https://community.wowza.com/t/reverse-proxy/335/10 "2009-10-29T21:22:05Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Pierre\_Boudreau](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@Pierre\_Boudreau](https://community.wowza.com/u/Pierre_Boudreau)\
**Post date:** [October 21, 2009, 3:13pm UTC](https://community.wowza.com/t/reverse-proxy/335/11 "2009-10-21T15:13:23Z")

</div>

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

Thanks,

Pierre

---

<div class="post-metadata">

**Author:** ![Pierre\_Boudreau](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@Pierre\_Boudreau](https://community.wowza.com/u/Pierre_Boudreau)\
**Post date:** [October 22, 2009, 5:05pm UTC](https://community.wowza.com/t/reverse-proxy/335/12 "2009-10-22T17:05:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Dmitry\_Zin](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dmitry\_Zin](https://community.wowza.com/u/Dmitry_Zin)\
**Post date:** [October 24, 2012, 6:26am UTC](https://community.wowza.com/t/reverse-proxy/335/13 "2012-10-24T06:26:00Z")

</div>

Did somebody configure nginx as proxy to wowza?

---

<div class="post-metadata">

**Author:** ![Dmitry\_Zin](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dmitry\_Zin](https://community.wowza.com/u/Dmitry_Zin)\
**Post date:** [October 25, 2012, 1:14am UTC](https://community.wowza.com/t/reverse-proxy/335/14 "2012-10-25T01:14:58Z")

</div>

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
