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