Files
NixConfig/hosts/darkgui-vps/config/self-host/firewall.nix
T
2026-05-10 17:51:14 -03:00

28 lines
370 B
Nix

{
config,
lib,
inputs,
pkgs,
...
}:
{
# Open ports in the firewall.
networking.firewall = {
enable = false;
allowedTCPPorts = [
80
443
5335
7777
];
allowedTCPPorts = [
5335
7777
];
trustedInterfaces = [ "tailscale0" "docker0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}