I'd like to turn off federation

Issue

Environment

Resolution

Add an empty federation_domain_whitelist. To do this, add the following in a .yml file in the Synapse config folder:

federation_domain_whitelist: []

See https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html?highlight=federation#federation for further details.

N.B. we recommend also firewalling your federation listener to limit inbound federation traffic as early as possible, rather than relying purely on this application-layer restriction. If not specified, the default is to whitelist everything.

Root Cause

Federation is on by default.


Revision #4
Created 16 May 2022 18:26:34 by Simon Addis
Updated 1 February 2023 13:43:06 by Karl Abbott