firewall tweaks
This commit is contained in:
parent
9786fb8aff
commit
b31e614798
1 changed files with 2 additions and 2 deletions
|
|
@ -283,8 +283,8 @@
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 8000 8080 25565 ];
|
networking.firewall.allowedTCPPorts = [ 8000 8080 25565 5173 5174 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 8000 8080 ];
|
networking.firewall.allowedUDPPorts = [ 8000 8080 5173 5174 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue