mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-02-23 05:32:06 +00:00
Need to commit and push for community help at @hackclub slack later. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
27 lines
No EOL
463 B
Nix
27 lines
No EOL
463 B
Nix
{ ... }:
|
|
|
|
{
|
|
# Open ports in the firewall.
|
|
networking.firewall.allowedTCPPortRanges = [
|
|
{ from = 1714; to = 1764; }
|
|
];
|
|
networking.firewall.allowedUDPPortRanges = [
|
|
{ from = 1714; to = 1764; }
|
|
];
|
|
networking.firewall.allowTCPPorts = [
|
|
22
|
|
80
|
|
443
|
|
3000
|
|
8000
|
|
];
|
|
networking.firewall.allowUDPPorts = [
|
|
22
|
|
80
|
|
443
|
|
3000
|
|
8000
|
|
];
|
|
# Or disable the firewall altogether.
|
|
# networking.firewall.enable = false;
|
|
} |