Hi, I am new to this but I created a server Openfire which I use and is active for 10 users with Spark. But how can I configure the server so the users can access it from outside the office?
This is a matter of using resolvable network names, and putting in place the correct DNS records.
When trying to connect to an XMPP domain (eg:
example.org), clients will perform a DNS SRV lookup for the XMPP domain. This should return something like this:
_xmpp-client._tcp.example.org. 86400 IN SRV 5 0 5222 server.example.org.
Here, the XMPP domain name
example.org is mapped to the server with the fully qualified domain name
server.example.org, using port 5222.
From there, a regular A record lookup will resolve the IP address of the server, and Bob is your proverbial uncle.
When your XMPP domain name is equal to the server’s fully qualified domain name, then SRV records are typically not necessary, as most clients will guess the default port being used (5222).