1. Create an SRV record on your DNS server
|_xmpp-server._tcp.your-xmpp-domain-name SRV 0 0 5269 xmpp-gateway-hostname|
You can test if your service record is correct by using nslookup command. The following is an example of a lookup for Google’s XMPP service.
|system:~ # nslookup|
> set type=srv
_xmpp-server._tcp.gmail.com service = 5 0 5269 xmpp-server.l.google.com.
2. Install the latest patch for the XMPP gateway
3. Configure the XMPP gateway security settings to TCP dialback.
4. Set your XMPP server security settings to accept TCP dialback. You may need to disable TLS as well to force it to use TCP dialback.