only open port 8448 for matrix

This commit is contained in:
Simon Gardling 2025-06-25 23:30:16 -07:00
parent ab86d39ef0
commit 96a057c3e6
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 10 additions and 6 deletions

View File

@ -32,16 +32,10 @@
# http (but really acmeCA challenges)
80
# for matrix federation
8448
];
networking.firewall.allowedUDPPorts = [
service_configs.ports.https
# for matrix federation
8448
];
users.users.${username}.extraGroups = [

View File

@ -52,4 +52,14 @@
systemd.tmpfiles.rules = [
"d /var/lib/private/matrix-conduit 0770 conduit conduit"
];
# for federation
networking.firewall.allowedTCPPorts = [
8448
];
# for federation
networking.firewall.allowedUDPPorts = [
8448
];
}