gerco/IssuesTest — Issue #94: Allow connections to brokers behind NAT routers
Author: gerco
Created: 2012-03-09 17:24:25+00:00
State: open
Labels: Common

When a Sonic domain is behind a NAT router, SMM will get an internal URL when resolving the broker locations from the directory service. That URL is obviously useless when the user is outside the NAT router.

We need to find a way to allow connections to such installations (by using the broker's external url, if present). However, using the external url breaks installations where the broker has an external url filled in, but the user is *inside* the same NAT environment.

Perhaps include a connection-specific setting in the configuration file to specify an alternate broker url for a broker. This requires that we save all detected brokers to the configuration file upon detection.