299 current 2024-12-18 16:23:13 24.11.20241216.3945713 6.12.5 *
This commit is contained in:
parent
6d19a1bdba
commit
9f7d433ed2
3 changed files with 23 additions and 15 deletions
7
modules/firewall.nix
Normal file
7
modules/firewall.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{...}: {
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [8080 10001 10002];
|
||||
networking.firewall.allowedUDPPorts = [8080 10001 10002];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue