feat(tanzanite): open coturn ports

This opening the ports required for my coturn docker container. In the
near future, I would like to use agenix and do a fully nix-based coturn
configuration. It doesn't have any persistant data, so it should be a
good candidate to moving to a 100% nix based config.
This commit is contained in:
stitchy 2024-12-22 22:20:31 -08:00
parent 97e544b3f2
commit d98e01928e
Signed by: stitchy
SSH key fingerprint: SHA256:f7Wxv5r7Ooi4z3GxqMBx50LlPRtY/kUK/Sw8K02PYys

View file

@ -24,6 +24,7 @@ in {
defaults.dnsProvider = "porkbun";
defaults.environmentFile = "/persist/acme/porkbun.tokens";
certs = {
"turn.stitchy.moe" = {};
};
};
@ -69,7 +70,11 @@ in {
};
networking.firewall = {
allowedTCPPorts = [ 22 80 222 443 ];
allowedTCPPorts = [ 22 80 222 443 3478 5349 ];
allowedUDPPorts = [ 3478 5349 ];
allowedUDPPortRanges = [
{ from = 19000; to = 20000; }
];
};
# Boot Config