1 Reply Latest reply on Nov 25, 2002 6:17 PM by Venkata Chennamallu

    UIL and NAT (Network Address Translation)

    Ovidiu Feodorov Newbie


      I am working on a project that, between many other things, requires JMS clients to connect to a topic hosted on a JMS server that runs in a NAT domain. The IP address of the machine the server runs on is non-routable, and therefore not directly accessible to the outside clients. There is a NAT device, that acts also as a firewall, that does the translation.

      I used UIL that comes with JBoss 3.0.3, but I wasn't able to make it work out of the box: the clients cannot subscribe to the topic if I just tweak the UILServerILService configuration parameters in deploy/jbossmq-service.xml and open the appropriate JMS and JNDI ports.
      Eventually, I was able to make it work by slightly modifying the UIL implementation code. Right now I have an usable solution, with the disadvantage that I have to patch the jboss code.

      Before going any further, I would appreciate your input on the following two issues:

      1. Is it already out there an obvious/standard solution to make UIL work when the JMS server runs inside a NAT domain? If such solution, which involves only configuration and not code changes, exists, I would appreciate if someone points me to the right document or writes a short how-to about it.

      2. If such solution doesn't exists yet, I would be happy to spend some and formalize the work-around I am using now so it can be included into the jboss repository. If this is of any interest for anybody, please let me know and I'll provide more details.