I’m sure this HASN’T been asked many times before (sarcasm). I’ve got an OpenFire server running on my personal server that sits in my apartment. For awhile now, I’ve been trying to enable server-to-server communication with public servers. Haven’t had any success yet. I can connect to my server over the Internet, but it’s impossible for other servers to actually see it for some reason. I should at least get some kind of invalid certificate error (using a self-signed one), or an indication of a server-to-server connection in the logs.
I eventually narrowed the problem down to DNS SRV records needing to be created. So, I created them. They have since propagated through DNS, and I’m able to find them using nslookup. External servers still return a server not found error. So, the things I’ve tried and verified:
-
Server-to-server is enabled in Openfire, and the security is set to optional.
-
Port 5269 is open on my firewall.
-
SRV records are in DNS.
-
Server is using a self-signed certificate.
-
xmpp.domain property is set to polaris.thermetics.net (although the server’s actual hostname on the LAN is different)
I would at least expect something in the logs that shows a remote server connecting and then rejecting the certificate. But alas, that never even happens. Debug log is enabled, and the only thing that shows up are info messages from the AIM transport that’s running (along with the usual stuff from the local server).
Is there something I am missing? Maybe I created the SRV records wrong? nslookup output shows the following:
_jabber._tcp.polaris.thermetics.net service = 20 0 5269 68.49.168.233.
_xmpp-client._tcp.polaris.thermetics.net service = 20 0 5222 68.49.168.233.
_xmpp-server._tcp.polaris.thermetics.net service = 20 0 5269 68.49.168.233.
Thanks in advance for the help.