nix/nixos/hosts/milan-linode-01/firewall.nix

14 lines
224 B
Nix
Raw Normal View History

2024-03-15 02:28:10 +01:00
{ ... }: {
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
1443 # Headscale DERP (tcp)
];
allowedUDPPorts = [
3478 # Headscale DERP (udp)
];
};
};
}