# Setup Wowza behind Firewall and NAT

**URL:** <https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600>\
**Category:** Wowza Streaming Engine\
**Created:** [April 15, 2009, 9:27am UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600 "2009-04-15T09:27:37Z")\
**Posts on this page:** 6\
**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 15, 2009, 9:27am UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600/1 "2009-04-15T09:27:37Z")

</div>

I am a new user of Wowza (v1.7.0). I have a mac which uses wirecast to send live video via internet back to the companyâ€™ internal network server running Wowza. I have tested it working while Mac and Wowza server in the same network. I have a few questions how to setup the system so Mac can send video via internet to intranet Wowza server:

1. Our Wowza server is behind firewall + NAT. I can ask IT guys to open ports (TCP 1935, UDP 6970-9999). How about NAT? does NAT will have any affect to the UDP ports?

2. I tested wirecast to send flash to Wowza server. The video size on the server size only has 2 choise: a small window or full screen. How can I setup the playback video size as 720x480?

Any help is appreciated! Thanks.

Emily

---

<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:** [April 15, 2009, 2:36pm UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600/2 "2009-04-15T14:36:06Z")

</div>

Welcome to Wowza,

Wowza works behind NAT if the ports are opened, udp too.

The video’s actual size would be set in Wirecast. The display size is set in whatever player you are using. If you are using one of the Wowza players, should resize automatically. JW player you set the size of the video indirectly by how big the player is (width and height of the embed), and the width and height and stretching Flashvars.

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:** [April 15, 2009, 3:33pm UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600/3 "2009-04-15T15:33:26Z")

</div>

Not sure which xml you mean, there are so many! Server.xml has a place to put IP for JConsole connection if you are behind NAT.

I think all you need, from your network admin, is a public IP that maps to the server running Wowza, and the required ports to be open.

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:** [April 15, 2009, 7:51pm UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600/4 "2009-04-15T19:51:22Z")

</div>

Glad I could help. Have fun.

---

<div class="post-metadata">

**Author:** ![Emily\_L](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@Emily\_L](https://community.wowza.com/u/Emily_L)\
**Post date:** [April 15, 2009, 10:22am UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600/5 "2009-04-15T10:22:43Z")

</div>

Thanks Richard.

I checked the document. Do I need to to modify the XML file for the NAT? I thought only when I need to manage the server from outside network then I need to change XML for NAT. But I only use wirecast to send live video back via Internet. In this case I think I don’t need to change the XML. Am I right?

Emily

---

<div class="post-metadata">

**Author:** ![Emily\_L](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@Emily\_L](https://community.wowza.com/u/Emily_L)\
**Post date:** [April 15, 2009, 2:39pm UTC](https://community.wowza.com/t/setup-wowza-behind-firewall-and-nat/600/6 "2009-04-15T14:39:45Z")

</div>

Thanks Richard. I just modified server.xml. The ports are opened in firewall. It works!

Emily
