Unsolved
This post is more than 5 years old
49 Posts
0
826
January 12th, 2010 02:00
problems connecting to dashboard/broker from outside
hi all,
we want to let customers access the dashboard seeing their down devices.
therefore i configured a dashboard viewlet and deployed it in tomcat.
our setup consists of 2 servers where server1 is serving the broker and SAM, the other one the dashboard and a few IPM domains.
SAM v7 / IPM v7.2
i opened 2 ports in the firewall, 8443 to connect to tomcat, 426 to connect to the broker.
as i have only one public ip available which is mapped to the server2 (dashboard) i used tcpxd to map traffic arriving on server2:426 to server1:426.
when i connect to https://myPublicIP:8443/theviewlet.html the applet loads.
the login screen shows up and i enter
broker: myPublicIP:426
domain: mySAMDomain
user: abc
password: xyz
when i click on browse, i can see all the domains but i am not able to connect to my SAM server. an error message pops up, stating, that it can't connect to domain "mySAMDomain" on "myInternalIP". for some unknown reason the applet tries to connect to the internal ip-address of the SAM depsite it is setup in the applet and SMAuth with the public one.
i guess this is because of "brcontrol" also shows me "server1" or "server2" in the list of available domains and these hostnames map to the internal ip adresses of server1 and server2 locally.
is there a way how to handle that ?
i have read the documentation and its saying something about proxy.. but this seems only to work for accessing the webserver / loading the applet and not proxying the application itself.
any guess / solution / question is appreciated.
thanks and regards
christian