What i must do with Openfire to connect to internet?

Hi

I am a newbie to create a jabber client in JSP for my web application .

Now,I have already create Client and it can Chat in localarea network .I use Openfire server.

My problem is

How can i use my Client to chat with MSN or GTALK.

What i must do with Openfire to connect to internet?

Thank in advice

Lots of code available for Connecting to GTalk, just follow the Smack Api to act as a java client coding

Use IM Gateway plugin maybe