Ejabberd enable s2s Port 5269

You need to enable it manually.

Create a template-custom

mkdir /etc/e-smith/templates-custom/etc/ejabberd/ejabberd.cfg/

Put this content inside /etc/e-smith/templates-custom/etc/ejabberd/ejabberd.cfg/80Ports20s2S

,{5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {max_stanza_size, 131072}]}

Open the port inside the firewall:

config setprop ejabberd TCPPorts 5222,5223,5280,5269

Apply the configuration:

signal-event ejabberd-update
signal-event firewall-adjust

If something doesn’t work as expected, check the syntax of generated ejabberd configuration file.

1 Like