Access Openfire Server from Internet

HI,
I am very new to Openfire. I have installed one Openfire Server and able to access perfectly in LAN by SPARK client.
I have a pfsense firewall and I am running Proxy and Reverse proxy on that. The web interface inverse works perfectly through reverse proxy.
I have allowed lots of ports defined in the document ( 5222, 5223 ) in firewall as PAT pointing to the server.
Still I am not able to access the server from internet.

Any help will be highly appreciated

Thanks in advance.

What error you receive in Spark? What do you put into Domain field in Spark when connecting from outside?