How to connect to IM gateways through openfire

The IM Gateway plugin for Openfire provides connectivity to other IM networks (AIM, ICQ, IRC, MSN, Yahoo, etc). It uses internal mechanisms to smooth the interaction with the various transports that standard transports can not currently provide. This plugin is called kracken im gateway plugin. It can be downloaded from the following link.


Openfire admin panel provides an option to upload new plugins into it. The file should be in .jar format.

IM Gateway plugins  fig 1

Once the plugin file is uploaded it will be listed under plugin section in admin panel.

plugins fig2

Next step is to select the networks that we want to connect from openfire. For that you need to go to Gateways in admin panel and select the gateways you want to connect to and its setttings.

gateways fig3

Checking a gateway enables the service.

MSN fig4

You can test the connection to the gateway network from the openfire server by clicking the ‘Tests’ link.

MSN fig5

Also there is an option to specify the users who all are allowed to connect to the gateway service.


Next you need to do gateway service registration for a particular openfire user. For that click on “Registrations” in the left-hand menu. Then click on “Add a new registration.”

IM Gateway registration fig 7

Here user is the openfire user which we want to connect to a gateway. Dropdown window for ‘gateways’ lists gateways we selected in one of the earlier steps. You can select the desired one from it. username and password should be corresponding gateway service account credentials. Here it should be login credentials of msn messanger.

registration cancel fig8

You can associate all the gateway services, you want, to a particular openfire user by adding like this. Once you associate gateway services like this you can login into your openfire account through one of the clients, here i am using pidgin to connect to the openfire server. Once you login into openfire account through a client you may be able to see all the gateway services associated with that user are listed in the client.

IM gateways buddylist fig9

Thus you will be able to login into all the associated gateways by just logging in to the openfire user account and you can have all your gateway services at once place.


  1. Hi Tino Thomas
    First of all Really nice article very nicely explained.
    However I am facing a problem. When I test connection it shows \Failed\
    When i do the registration and login the user (in pidgin) it sows up this alert \Failed to connect to remote server\. My openfire is in private LAN and behind a proxy. I run it on Windows
    I would be very obliged if you are able to help me
    Thank you

    1. Hi Hussain,
      It does not matter where your openfire server is, it should work fine in a lan environment also. You have to make sure that your network environment allows communication on the specified ports for the various gateways. Please check for any firewall rules that prevent the server from connecting to the IM gateways.

  2. HI :

    Its really nice to use openfire and spark in a lan environment , but like windows messenger can i connect my IM client to check emails(We have an email server as well).

    Any help would be great

    Thank You

Leave a Reply

Your email address will not be published. Required fields are marked *