feat(services/synapse): add ip_range_blacklist
Some checks failed
Nix CI / build (push) Failing after 3m21s
Some checks failed
Nix CI / build (push) Failing after 3m21s
This commit is contained in:
parent
ceb56f66e2
commit
9ff92a89e3
1 changed files with 13 additions and 0 deletions
|
|
@ -63,6 +63,19 @@ mkIf enable {
|
||||||
|
|
||||||
allow_public_rooms_without_auth = true;
|
allow_public_rooms_without_auth = true;
|
||||||
|
|
||||||
|
ip_range_blacklist = [
|
||||||
|
"127.0.0.0/8"
|
||||||
|
"10.0.0.0/8"
|
||||||
|
"172.16.0.0/12"
|
||||||
|
"192.168.0.0/16"
|
||||||
|
"100.64.0.0/10"
|
||||||
|
"169.254.0.0/16"
|
||||||
|
"::1/128"
|
||||||
|
"fe80::/10"
|
||||||
|
"fc00::/7"
|
||||||
|
"::/0" # disable IPv6 (temporary)
|
||||||
|
];
|
||||||
|
|
||||||
url_preview_enabled = true;
|
url_preview_enabled = true;
|
||||||
url_preview_ip_range_blacklist = [
|
url_preview_ip_range_blacklist = [
|
||||||
"127.0.0.0/8"
|
"127.0.0.0/8"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue