simplify firewall config
This commit is contained in:
parent
4f1138c9e3
commit
3945a335b1
5 changed files with 9 additions and 39 deletions
|
|
@ -9,7 +9,6 @@
|
|||
config = {
|
||||
my = {
|
||||
enabledUsers = [];
|
||||
server.enable = true;
|
||||
tailscale.enable = true;
|
||||
};
|
||||
|
||||
|
|
@ -64,15 +63,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
checkReversePath = "loose";
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 5000;
|
||||
to = 5005;
|
||||
}
|
||||
];
|
||||
allowedTCPPorts = [80 443];
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue