Server to server (S2S): [[listen.s2s]]
¶
Handles incoming server-to-server (S2S) connections (federation). The recommended port number for an S2S listener is 5269 as registered in the XMPP protocol.
Note
Many S2S options are configured in the s2s
section of the configuration file, and they apply to both incoming and outgoing connections.
TLS options for S2S¶
To enable TLS, a TOML subsection called tls
has to be present in the listener options.
To disable TLS, make sure that the section is not present, and no TLS options are set.
You can specify additional options of the TLS encryption in the tls
subsection.
They have the same semantics as the corresponding c2s options.
S2S listener configuration example¶
The following section configures an S2S listener with some basic settings set up.
The s2s_shaper
access rule is used, which requires a definition in the access
section.
1 2 3 4 5 |
|