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:
parent
97e544b3f2
commit
d98e01928e
1 changed files with 6 additions and 1 deletions
|
@ -24,6 +24,7 @@ in {
|
||||||
defaults.dnsProvider = "porkbun";
|
defaults.dnsProvider = "porkbun";
|
||||||
defaults.environmentFile = "/persist/acme/porkbun.tokens";
|
defaults.environmentFile = "/persist/acme/porkbun.tokens";
|
||||||
certs = {
|
certs = {
|
||||||
|
"turn.stitchy.moe" = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -69,7 +70,11 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 22 80 222 443 ];
|
allowedTCPPorts = [ 22 80 222 443 3478 5349 ];
|
||||||
|
allowedUDPPorts = [ 3478 5349 ];
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{ from = 19000; to = 20000; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Boot Config
|
# Boot Config
|
||||||
|
|
Loading…
Reference in a new issue