<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi,<br>
      <br>
      If you do not set any values for ports, the defaults are:<br>
      <br>
      port1 is 5060<br>
      port2 is 3478<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 02.10.2015 18:39, sevpal wrote:<br>
    </div>
    <blockquote cite="mid:224C51B5352D4A29B92F93FE65ACCE46@LenovoPC"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
          #000000">
          <div style="FONT-SIZE: small; FONT-FAMILY: 'Calibri';
            FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal;
            TEXT-DECORATION: none; DISPLAY: inline">
            <div dir="ltr">
              <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri';
                COLOR: #000000">
                <div>Hi, the documentation states  <font face="Times
                    New Roman">“The sockets come from existing SIP
                    sockets or are created”. Based the example in the
                    documentation, “two sockets are defined and two are
                    created”.</font></div>
                <div> </div>
                <div><font face="Times New Roman">The stun server will
                    use 4 sockets: </font></div>
                <div class="itemizedlist">
                  <ul type="disc">
                    <li><font face="Times New Roman">socket1 = ip1 :
                        port1 (assuming 5060 inbound/outbound)</font> </li>
                    <li><font face="Times New Roman">socket2 = ip1 :
                        port2 (inbound/outbound?)</font> </li>
                    <li><font face="Times New Roman">socket3 = ip2 :
                        port1 (assuming 3478 inbound/outbound)</font> </li>
                    <li><font face="Times New Roman">socket4 = ip2 :
                        port2 ((inbound/outbound?))</font></li>
                  </ul>
                </div>
                <div><font face="Times New Roman">How to determine the
                    port of the two sockets that are created (port2) to
                    allow in a restrictive firewall?</font></div>
                <div> </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>