nix/nixos/hosts/milan-linode-01/firewall.nix
2024-03-15 10:28:10 +09:00

13 lines
224 B
Nix

{ ... }: {
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
1443 # Headscale DERP (tcp)
];
allowedUDPPorts = [
3478 # Headscale DERP (udp)
];
};
};
}