Discussion:
[omniORB] nac.uci.edu: non-routing server IP's
phillips at halfdome.nac.uci.edu ()
2009-05-15 05:17:31 UTC
Permalink
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



Give a man a fish and he will eat for a day. Teach him how to
fish, and he will sit in a boat and drink beer all day.

-- George Carlin
Duncan Phillips
2009-05-19 03:54:46 UTC
Permalink
Post by phillips at halfdome.nac.uci.edu ()
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

Loading...