<div dir="ltr">That'll depend on your configuration, but examples would be 5060 + 5080 for SIP, 8021 for ESL etc.<div><br></div><div>You'll want to give the VM access to the Internet via NAT. RTP ports are assigned randomly (in a very wide port range). A stateful NAT should see the SIP SDP packets going through it and automatically open the RTP port mappings. That will *only* work if you're not using TLS, since for obvious reasons you can't read the SDP otherwise.</div>
<div><br></div><div>If you are using TLS you could port forward an entire port range. You can manually set the port range RTP will use in switch.conf.xml.</div><div><br></div><div>The SIP packets will want to include in the SDP the external IP where clients can send packets to. That's probably the IP of the Windows server. You can set it manually on the sofia profile(s) using ext-sip-ip and ext-rtp-ip, or use STUN.</div>
<div><br></div><div>If you're going through multiple layers of NAT (ie the Windows server does not have a public IP) that can complicate matters.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 June 2014 20:27, Anurag Rana <span dir="ltr"><<a href="mailto:anuragrana31189@gmail.com" target="_blank">anuragrana31189@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">Hi all,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">
I am running FS on a Virtual Machine which in turn is running on Windows server. </div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">I want to know what all ports I need to forward from Windows server to VM apart from </div>
<div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">1. Sip Port - 5060</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">
2. WebRTC Port - 9066</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">[ <a href="https://jira.freeswitch.org/browse/FS-6618?filter=-2" target="_blank">Reason for asking this question</a> ]</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div>-- <br><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font style="font-family:georgia,serif" face="garamond,serif"><font size="4"><font size="4"><font face="verdana,sans-serif"><font>Anurag Rana <br>
<font size="1"><span style="color:rgb(56,118,29)"><a href="http://newbie42.blogspot.in/" target="_blank">http://newbie42.blogspot.in/</a></span><br><span style="color:rgb(106,168,79)">On the trampoline of life's experiences, Striving towards a saintly life in the midst of these materialistic turbulences.</span></font><br>
</font><br></font></font></font></font></span><div><span style="background-color:rgb(255,255,255)"><font style="font-family:georgia,serif" face="garamond,serif"><br></font></span></div></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>