only open port 8448 for matrix
This commit is contained in:
parent
ab86d39ef0
commit
96a057c3e6
@ -32,16 +32,10 @@
|
|||||||
|
|
||||||
# http (but really acmeCA challenges)
|
# http (but really acmeCA challenges)
|
||||||
80
|
80
|
||||||
|
|
||||||
# for matrix federation
|
|
||||||
8448
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
service_configs.ports.https
|
service_configs.ports.https
|
||||||
|
|
||||||
# for matrix federation
|
|
||||||
8448
|
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username}.extraGroups = [
|
users.users.${username}.extraGroups = [
|
||||||
|
|||||||
@ -52,4 +52,14 @@
|
|||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/lib/private/matrix-conduit 0770 conduit conduit"
|
"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