Connect two Openfire server on two subnet and two ActiveDirectory

i’m from argentina, sorry, my english is bad.,

i fail to connect two openfire servers

server1: 10.73.48.100 openfire+activedirectory Domain1.local

server2: 192.168.226.10 openfire+activedirectory Domain2.local

users can chat without any problem in the server, but I’m trying that users of the two servers can communicate with each other

I install the cluster plugin by Hazelcast, and setting hazelcast-cache-config.xml file but does not work, also try the Connect server to server, but it did not work

i need help please

Thank!