This module lets you block connections to remote servers at the s2s level.
= {
modules_enabled -- other modules --
"s2s_blacklist",
}
= {
s2s_blacklist "proxy.eu.jabber.org",
}
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_s2s_blacklist
For earlier versions see the documentation for installing 3rd party modules