nixos-configuration/hosts/magnesium/ports.nix
2025-04-16 22:54:29 +02:00

17 lines
503 B
Nix

{ custom-utils, ... }:
{
config.networking.ports = custom-utils.validatePortAttrset {
coturn-cli.tcp = 5766;
coturn-plain = { tcp = [ 3478 3479 ]; udp = [ 3478 3479 ]; };
coturn-relay.udp = { from = 49160; to = 49200; };
coturn-tls = { tcp = [ 5349 5350 ]; udp = [ 5349 5350 ]; };
forgejo-ssh.tcp = 2022;
hedgedoc.tcp = 3000;
nginx-http.tcp = 80;
nginx-https.tcp = 443;
ntfy.tcp = 12474;
trilium.tcp = 12783;
wireguard-public-ip-tunnel.udp = 51000;
};
}