Matrix Allow/Block List
Blocking or allowing specific domain names or IPs address to communicate with your Matrix Homeserver
To create allow/block lists on the Synapse installation, change it directly in the configuration file (homeserver.yaml). You can block undesired communication with specific homeservers or allow only the desired ones.
Add the following to the Synapse configuration file:
ip_range_blacklist
: Creates a block list by IP ranges (List all IPs you want as a YAML array).
Add the following to the Synapse configuration file:
ip_range_whitelist
: Creates an allow list by IP ranges (List all IPs you want as a YAML array).federation_domain_whitelist
: Creates an allow list by domain names (List all domain names you want as a YAML array).
After creating the desired configuration, restart the Synapse server; everything you specified should be blocked.
Currently, Dendrite does not support creating allow/block lists.
Last modified 2mo ago