Article View: comp.lang.java.corba
Article #55Re: network address translation
From: ke_jin
Date: Tue, 16 Jan 2007 18:55
Date: Tue, 16 Jan 2007 18:55
33 lines
2603 bytes
2603 bytes
You should be able to get answer from manual or user guide. I recall that there is a vbroker property designed for this purpose (NAT support) that allows one to specify an alternative host string to appear in IORs (not what the server actually listen on). Regards, Ke donalmurtagh@yahoo.co.uk wrote: > Hi, > > I'm using the Visibroker ORB. My scenario is as follows: > > There are 2 CORBA services, mine and my customer's. My CORBA server is > hosting a single remote (servant) object. When my server starts it > calls a registration method on the client's service, and passes a > reference to my servant, so that it can be called back by my customer's > service. > > My problem is as follows: > > My customer is using NAT to access the machine that my service is > running on, but (presumably) the reference to my servant that is passed > contains the real IP of my machine, which my customer cannot access. Is > there any way that I can change the IP contained within the reference I > pass, so that it appears to come from the address that my customer > translates to my real address? > > A solution that doesn't require me to use Borland's Gatekeeper product > would be preferable :) > > Many thanks in advance, > Donal
Technical Details
Message-ID:
<1168973702.305943.21260@v45g2000cwv.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!v45g2000cwv.googlegroups.com!not-for-mailReferences:
<1166717722.888762.226670@73g2000cwn.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 108bbb,b16b12912f31e7da X-Google-Thread: f753e,b16b12912f31e7da X-Google-Thread: 109156,b16b12912f31e7da X-Google-Attributes: gid108bbb,gidf753e,gid109156,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!v45g2000cwv.googlegroups.com!not-for-mail From: ke_jin@yahoo.com Newsgroups: comp.lang.java.corba,comp.object.corba,borland.public.visibroker Subject: Re: network address translation Date: 16 Jan 2007 10:55:05 -0800 Organization: http://groups.google.com Lines: 34 Message-ID: <1168973702.305943.21260@v45g2000cwv.googlegroups.com> References: <1166717722.888762.226670@73g2000cwn.googlegroups.com> NNTP-Posting-Host: 143.127.3.10 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1168973721 13047 127.0.0.1 (16 Jan 2007 18:55:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 16 Jan 2007 18:55:21 +0000 (UTC) In-Reply-To: <1166717722.888762.226670@73g2000cwn.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Red Hat/1.7.10-1.1.3.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v45g2000cwv.googlegroups.com; posting-host=143.127.3.10; posting-account=_aUhGQ0AAADkSgpSpiCR7HFoNCIKT9OO