only open port 8448 for matrix
This commit is contained in:
parent
ab86d39ef0
commit
96a057c3e6
@ -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 = [
|
||||
|
||||
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user