I had modified 10-master.conf to provide the linux socket, created the directory /var/spool/prosody/private and accommodated auth socket there. I had installed prosody-0.10 and get prosody to import the letsencrypt certificate. I had put the following codes into prosody config file:
cross_domain_bosh = true
consider_bosh_secure = true
authentication = "dovecot"
dovecot_auth_socket = "/var/spool/prosody/private/auth"
auth_append_host = true
–dovecot_auth_host = “127.0.0.1”
–dovecot_auth_port = “143”
I had set up the service record in MIAB DNS (5222 and 5269). But I don’t know how to to enable the firewall to allow port 222 and 5269 to talk to the world. Please help. thx