Hello. My ejabberd server is located behind NATting firewall and has internal ip 10.10.2.146. I configured 5269 port mapping on my NAT box, so when I'm connecting to my NAT box from Internet i get into 10.10.2.1:5269. I can telnet any server on port 5269 from my ejabberd host.
My domain (for example, example.net) is hosted by another company and example.net A record is a link to their http server. So I decided to use srv records, I added _xmpp-server._tcp.example.net, _xmpp-client._tcp.example.net, _jabber.example.net pointing to hostname of my NAT box.
In ejabberd.cfg I added option {hosts, ["example.net"]}.
My ejabberd machine use internal DNS located in our LAN. This DNS server is capable of resolving external names.
Ejabberd version is 2007-03-13 (checked out from SVN).
When I'm trying to add my account on example.net to my roster on jabber.org.ru, in ejabberd.log i see:
=INFO REPORT==== 2007-03-22 11:11:23 ===
I(<0.206.0>:ejabberd_listener:90) : (#Port<0.513>) Accepted connection {{85,21,3,221},55712} -> {{10,10,2,146},5269}
=INFO REPORT==== 2007-03-22 11:11:23 ===
I(<0.330.0>:ejabberd_s2s_in:104) : started: {socket_state,
gen_tcp,
#Port<0.513>,
<0.329.0>}
=INFO REPORT==== 2007-03-22 11:11:23 ===
I(<0.330.0>:ejabberd_s2s_in:309) : GET KEY: {"example.net",
"jabber.org.ru",
[],
"64a78e43a06c5894e6ad6899721cd98ba2dee8f7"}
=INFO REPORT==== 2007-03-22 11:11:23 ===
I(<0.331.0>:ejabberd_s2s_out:105) : started: {"example.net",
"jabber.org.ru",
{verify,
<0.330.0>,
"64a78e43a06c5894e6ad6899721cd98ba2dee8f7",
"543835364"}}
=INFO REPORT==== 2007-03-22 11:11:24 ===
I(<0.331.0>:ejabberd_s2s_out:655) : terminated: normal
So after that nothing happens. Did I forget something?