[omniORB] SOLUTION: non-routing server IP's

Duncan Phillips phillips at halfdome.nac.uci.edu
Mon May 18 15:54:10 BST 2009


On Thu, May 14, 2009 at 04:16:52PM -0700, phillips at halfdome.nac.uci.edu wrote:
> 
> Hello,
> 
> I've got server running omniNames and omniEvents behind a 
> firewall.  The server has a non-routing IP but the firewall
> does a NAT from a routable IP to that non-routing IP.  The
> problem is that the server returns it's own non-routing 
> IP.  Hosts behind the firewall work fine (they're on the
> same subnet and also have non-routing IP's.  Hosts on the
> outside, however, fail to narrow because they're using the
> non-routing IP.  
> 
> Is there a way to configure omniORB to handle this?  I
> did try clientTransportRule changes but that didn't help.
> 
> Thank you,
> 
> Duncan


Well, RTFM applies here (or at least old posts).  Found
my solution in an archived e-mail from Duncan Grisby
from 2006-11-29:

  """
  You may find it better to publish hostnames, and use suitable 
  hosts files or DNS set up to map names to addresses 
  appropriately.
  """

I added this to my ORB.cfg file:
   endPoint = giop:tcp:myhost.uci.edu:

Then restarted the name server.  I had to de-register then 
re-register to get the persistant IOR to hold the DNS name
rather than IP.


Duncan



More information about the omniORB-list mailing list