only open port 8448 for matrix
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user