<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        For STUN to work properly you need 2 public IPs and 2 ports. One
        IP is primary (the one you configure in the SIP client), the
        other is secondary (used via the STUN protocol).<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>
      On 10.09.2014 03:45, george wu wrote:<br>
    </div>
    <blockquote
      cite="mid:3b6e0408.126cf.1485d06062e.Coremail.aihuawu2012@163.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div
          style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
          <div>I only have one ip. Is it possible to setup stun?<br>
            <br>
            My sip client is linphone. It uses ice and it requires a
            stun server.<br>
            I believe the required stun feature is just self address
            fixing.<br>
            I don't think it require any 2 ip features.<br>
            <br>
            so how to set up the stun server with only one public ip?<br>
            loadmodule "stun.so"<br>
            modparam("stun", "primary_ip", "192.168.1.3")<br>
            <br>
            <br>
            Thanks.<br>
            <br>
            George<br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <br>
      <span title="neteasefooter"><span id="netease_mail_footer"></span></span><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>