nix/nixos/hosts/frankfurt-linode-01/firewall.nix
2024-06-23 19:07:50 +09:00

13 lines
224 B
Nix

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