The two IPs are necessary to determine if this is a full-cone nat or not.  From the RFC:<div><br></div><div><span class="Apple-style-span" style="font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; color: rgb(46, 44, 44); line-height: 22px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><pre style="text-align: left; ">
To determine if it&#39;s behind a full-cone NAT, the client can send a
   STUN Binding Request with flags that tell the STUN server to send a
   response from a different IP address and port than the request was
   received on.  In other words, if the client sent a Binding Request to
   IP address/port A/B using a source IP address/port of X/Y, the STUN
   server would send the Binding Response to X/Y using source IP
   address/port C/D.  If the client receives this response, it knows it
   is behind a full cone NAT.
</pre><div><br></div></span><div>I guess it isn&#39;t strictly required, but you won&#39;t be able to support all stun requests and nat topologies if only bound to 1 public IP.</div><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 7:02 PM, Brian May <span dir="ltr">&lt;<a href="mailto:brian@microcomaustralia.com.au">brian@microcomaustralia.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 4 November 2010 02:15, GillesToo &lt;<a href="mailto:codecomplete@free.fr">codecomplete@free.fr</a>&gt; wrote:<br>

&gt; So I was wondering if Freeswitch could run as STUN server or if someone knew<br>
&gt; of a good open-source STUN server that I could install on the same host as<br>
&gt; the Freeswitch server?<br>
<br>
</div>Debian has this package:<br>
<br>
scrooge:~# apt-cache show stun<br>
Package: stun<br>
Priority: optional<br>
Section: net<br>
Installed-Size: 176<br>
Maintainer: Debian VoIP Team &lt;<a href="mailto:pkg-voip-maintainers@lists.alioth.debian.org">pkg-voip-maintainers@lists.alioth.debian.org</a>&gt;<br>
Architecture: i386<br>
Version: 0.96.dfsg-5<br>
Depends: libc6 (&gt;= 2.6-1), libgcc1 (&gt;= 1:4.2-20070516), libstdc++6 (&gt;=<br>
4.2-20070516)<br>
Filename: pool/main/s/stun/stun_0.96.dfsg-5_i386.deb<br>
Size: 41292<br>
MD5sum: b8d9baaddbaf74016b6a0af3bdfd8545<br>
SHA1: 8675d417af0e2d9076e91e46a82a99e3e728d45e<br>
SHA256: ccb8fc9ad634b2ff98ebcc5d97eb2864df8a1c634109ef2fb641a7d2a2fb3a34<br>
Description: Server daemon and test client for STUN<br>
 The STUN protocol (Simple Traversal of UDP through NATs) is described in the<br>
 IETF RFC 3489, available at <a href="http://www.ietf.org/rfc/rfc3489.txt" target="_blank">http://www.ietf.org/rfc/rfc3489.txt</a>.  It&#39;s used to<br>
 help clients behind NAT to tunnel incoming calls through. This server is the<br>
 counterpart to help the client identify the NAT and have it open the proper<br>
 ports for it.<br>
 .<br>
  Homepage: <a href="http://www.vovida.org/applications/downloads/stun/" target="_blank">http://www.vovida.org/applications/downloads/stun/</a><br>
Tag: interface::commandline, interface::daemon,<br>
network::{client,server,service,vpn}, protocol::{ip,udp,voip},<br>
role::program, scope::utility, use::transmission<br>
<br>
=== cut ===<br>
<br>
Unfortunately the version in Debian/lenny seems to have this brain<br>
dead assumption that you want it to bind to exactly two different IP<br>
addresses (for increased reliability or something). I don&#39;t have any<br>
additional public IPv4 addresses to spare.<br>
<br>
At least that was the problem I encountered when I installed it<br>
before. I might have been doing something wrong.<br>
<br>
Also the home page mentioned above is useless.<br>
<font color="#888888">--<br>
Brian May &lt;<a href="mailto:brian@microcomaustralia.com.au">brian@microcomaustralia.com.au</a>&gt;<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>
</div>