Set firewall rules.

This commit is contained in:
Nolan Darilek 2025-07-21 13:28:43 -04:00
parent 71934ea2a5
commit 440aca54c7

View file

@ -30,10 +30,20 @@
networking = {
hostName = "router";
hostId = "91312b0b";
firewall.allowedTCPPorts = [
firewall = {
interfaces.lan = {
allowedUDPPorts = [
53
67
];
allowedTCPPorts = [
53
67
80
443
];
};
};
useNetworkd = true;
bridges = {
lan = {
@ -98,6 +108,7 @@
};
};
};
caddy = {
enable = true;
virtualHosts."router.tailc50184.ts.net".extraConfig = ''