configure an ejabberd server as a proxy

Hi!

I'm new in jabber and in ejabberd, so I need some help to do what i have to do.
I have to setup to ejabberd different kind of servers, "domain" and "server". The users know "server" IP address and "domain" name.
Let's do an example:
username = userA@domain."domain_ip_address"
server = "server IP address".

So, my question is: how can I configure the different ejabberd servers to communicate each others and to make "server" able to acts as a proxy and sends registration requests to "domain"

Thanks in advance
Paola

Syndicate content