Using DynDNS, I've set up the following two accounts based on the example given in this chapter:
bhx.office-on-the.net—It points to the Openfire server in Birmingham, UK
mum.office-on-the.net—It points to the Openfire server in Mumbai, India
You can choose different names and if you run your own DNS, your names will be different.
Once you have set up the hostnames, make sure to use them as "server name" when setting up Openfire at both the locations. Once Openfire is set up, head over to the Openfire administration console. The server-to-server settings can be accessed from Server | Server Settings | Server to Server. From this page, you can do the following:
1. Enable/Disable the service and choose a port number: All server-to-server communication flows through a particular port. By default, this is port number 5269, but you can choose any other free port.
2. Disconnect on idle: Server-to-server connections are established on an as-needed basis, and...