<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>InternalAddress is the address internally used by 
the server to listen for traffic - this parameter is not used to inform the 
client for use in the handshake.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>To set up the UDP handshake the server 
resolves the ExternalHostName to an IP address.</FONT></DIV>
<DIV>
<DIV><FONT size=2 face=Arial>InternalPort (in your case 9000) is added to the 
address derived from ExternalHostName.</FONT></DIV>
<DIV>
<DIV><FONT size=2 face=Arial>The server passed that address to the client which 
then attempts to use it for the handshake.</FONT></DIV></DIV></DIV>
<DIV><FONT size=2 face=Arial>In your case the server should be sending an 
IP address like  <A 
href="http://129.137.2.x:9000">http://129.137.2.x:9000</A></FONT></DIV>
<DIV><FONT size=2 face=Arial>However you say you can see at the client that it 
is using an address like <A 
href="http://10.23.23.x:9000">http://10.23.23.x:9000</A></FONT></DIV>
<DIV><FONT size=2 face=Arial>To me that indicates that on your server 
ucsim1.irc.uc.edu is resolving to 10.23.23.x which is a problem.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>You can see what is used to produce the UDP 
handshake address using this server command:  </FONT></DIV>
<DIV><FONT size=2 face=Arial><STRONG>    show region 
<EM>yourregionname</EM></STRONG></FONT></DIV>
<DIV><STRONG><EM><FONT size=2 face=Arial></FONT></EM></STRONG> </DIV>
<DIV><FONT size=2 face=Arial>For the parameters that follow the show region 
command output would include this:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><A 
href="http://something.dyndns-mail.com:9000"><STRONG>http://something.dyndns-mail.com:9000</STRONG></A></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Example region parameters which works 
successfully for internal and external clients:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>[REGIONNAME]<BR>RegionUUID = 
0d8662a9-e7cb-4552-a701-8bbc3e08ed17<BR>Location = 1001,1000<BR>InternalAddress 
= 0.0.0.0<BR>InternalPort = 9000<BR>AllowAlternatePorts = 
False<BR>ExternalHostName = something.dyndns-mail.com</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=fleep513@gmail.com href="mailto:fleep513@gmail.com">Fleep Tuque</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=opensim-users@lists.berlios.de 
  href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 01, 2011 09:44</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Opensim-users] NAT & 
  Corporate Firewall</DIV>
  <DIV><BR></DIV>Sorry I haven't replied in a few days, had an inconvenient 
  office move in the middle of all this.  
  <DIV><BR></DIV>
  <DIV>Justin wrote:  </DIV>
  <DIV><BR></DIV>
  <DIV><SPAN 
  style="BORDER-COLLAPSE: collapse; FONT-FAMILY: arial, sans-serif; FONT-SIZE: 13px" 
  class=Apple-style-span><I>Confusingly, the 'internal port' is used for both 
  the internal UDP listener and is passed to the client as the external 
  connection port.</I></SPAN></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><I><BR></I></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>It sounds like this 
  might be part of the problem with our campus set up.  I couldn't figure 
  out where the client was even getting the 10.23.23.x internal address to send 
  packets to, but it appears that if I leave the default InternalAddress = 
  0.0.0.0 in the region.ini file, then somehow that is passed to the off-campus 
  client as the internal IP, which of course doesn't work.</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><SPAN style="BORDER-COLLAPSE: collapse; FONT-FAMILY: arial, sans-serif" 
  class=Apple-style-span>Will consult with the NOC again with this latest 
  information and many thanks to all for helping shed light on 
this.</SPAN></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span>Sincerely,</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>- 
  Chris/Fleep</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>Chris M. Collins (SL: 
  Fleep Tuque)</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>Project Manager, UC 
  Second Life </SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>Second Life 
  Ambassador, Ohio Learning Network </SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>UCit Instructional 
  & Research Computing</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>University of 
  Cincinnati </SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>406E Zimmer 
  Hall</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>PO Box 
  210088</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>Cincinnati, OH 
  45221-0088</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span>(513)556-3018</SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span><A 
  href="mailto:chris.collins@uc.edu">chris.collins@uc.edu</A></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>UC Second Life: 
    <A 
  href="http://homepages.uc.edu/secondlife">http://homepages.uc.edu/secondlife</A></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" class=Apple-style-span>OLN Second Life: <A 
  href="http://www.oln.org/emerging_technologies/emtech.php">http://www.oln.org/emerging_technologies/emtech.php</A></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
  class=Apple-style-span><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="arial, sans-serif"><SPAN 
  style="BORDER-COLLAPSE: collapse" 
class=Apple-style-span><BR></SPAN></FONT><BR>
  <DIV class=gmail_quote>On Thu, Mar 31, 2011 at 7:43 PM, Justin Clark-Casey 
  <SPAN dir=ltr><<A 
  href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</A>></SPAN> 
  wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>From my understanding of the code, using 0.0.0.0 will make 
    the UDP listen to the 'most appropriate' IP address as assigned to the 
    server's NICs (see <A 
    href="http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.bind.aspx" 
    target=_blank>http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.bind.aspx</A>, 
    IPAddress.Any = 0.0.0.0).<BR><BR>On a machine with just one NIC this should 
    be fine.  But on a machine with two NICs I'm guessing you would really 
    want to explicitly state the right address.<BR><BR>The internal address is 
    used to bind the UDP listener.  However, the client is told to connect 
    to the external host name (if this or the port is incorrect then the client 
    connection will timeout on the 'connecting to region' 
    bit).<BR><BR>Confusingly, the 'internal port' is used for both the internal 
    UDP listener and is passed to the client as the external connection 
    port.<BR><BR>Some people on Stack Overflow think that IPAddress.Any means 
    listen on all NICs (<A 
    href="http://stackoverflow.com/questions/1777629/how-to-listen-on-multiple-ip-addresses" 
    target=_blank>http://stackoverflow.com/questions/1777629/how-to-listen-on-multiple-ip-addresses</A>). 
     But my reading of the MS SDK reference above means that it only binds 
    to one.  Anybody able to comment on this?<BR><BR>And does anybody 
    actually use a non 0.0.0.0 internal address and in what context?  I'd 
    really like to clear up my understanding of this so that we can improve the 
    instructions.
    <DIV class=im><BR><BR><BR>On 30/03/11 17:28, Adelle Fitzgerald wrote:<BR>
    <BLOCKQUOTE 
    style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
    class=gmail_quote>As I understand it, that is used for binding opensim to 
      a specific IP<BR>address, where the opensim server may have more than one 
      IP address on a<BR>network interface or multiple network 
      interfaces.<BR><BR>0.0.0.0 = listen on all available IP addresses, or 
      specify (bind) to a<BR>specific IP address.<BR><BR><BR><BR>-----Original 
      Message-----<BR>From: <A 
      href="mailto:opensim-users-bounces@lists.berlios.de" 
      target=_blank>opensim-users-bounces@lists.berlios.de</A><BR>[mailto:<A 
      href="mailto:opensim-users-bounces@lists.berlios.de" 
      target=_blank>opensim-users-bounces@lists.berlios.de</A>] On Behalf Of 
      Edmund<BR>Edgar<BR>Sent: 30 March 2011 17:16<BR>To: <A 
      href="mailto:opensim-users@lists.berlios.de" 
      target=_blank>opensim-users@lists.berlios.de</A><BR>Subject: Re: 
      [Opensim-users] NAT&  Corporate Firewall<BR><BR>This probably 
      won't help Fleep, but does anyone know what this<BR>broken-Englished 
      sentence on the wiki is supposed to say?<BR><BR># Internal IP address - 
      This should always be 0.0.0.0 (0.0.0.0 means<BR>"listen for connections on 
      any interface", basically a wildcard) if<BR>you want to access this server 
      from the internet or another server on<BR>your internal network, this 
      should be the IP address assigned to the<BR>OpenSim Server.<BR><BR><A 
      href="http://opensimulator.org/wiki/Configuration" 
      target=_blank>http://opensimulator.org/wiki/Configuration</A><BR><BR></BLOCKQUOTE><BR><BR>-- 
    <BR></DIV><FONT color=#888888>Justin Clark-Casey (justincc)<BR><A 
    href="http://justincc.org/blog" 
    target=_blank>http://justincc.org/blog</A><BR><A 
    href="http://twitter.com/justincc" 
    target=_blank>http://twitter.com/justincc</A></FONT>
    <DIV>
    <DIV></DIV>
    <DIV 
    class=h5><BR>_______________________________________________<BR>Opensim-users 
    mailing list<BR><A href="mailto:Opensim-users@lists.berlios.de" 
    target=_blank>Opensim-users@lists.berlios.de</A><BR><A 
    href="https://lists.berlios.de/mailman/listinfo/opensim-users" 
    target=_blank>https://lists.berlios.de/mailman/listinfo/opensim-users</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Opensim-users 
  mailing 
  list<BR>Opensim-users@lists.berlios.de<BR>https://lists.berlios.de/mailman/listinfo/opensim-users<BR></BLOCKQUOTE></BODY></HTML>