Summary Files Commits Branches @commit @diff @stats
path: root / modules
diff options
context:
space:
mode:
Commit1f0124cd2498ebec51eef0d9182e9854f3191e25 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-12-31 13:21:49 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-12-31 13:21:49 +0200
Files09e12b334126e215a7deb77785c5ae2dad18edbf /modules
nix-1f0124cd2498ebec51eef0d9182e9854f3191e25.tar
nix-1f0124cd2498ebec51eef0d9182e9854f3191e25.tar.gz
nix-1f0124cd2498ebec51eef0d9182e9854f3191e25.zip
Parent8361192155060756902c9824c5d00519d2f03d48 (diff)
feat(modules/personal): Allow some TCP and UDP ports for adhoc usage
For example, useful with netcat
1 files changed, 4 insertions, 1 deletions
-rw-r--r--modules/personal/default.nix5
diff --git a/modules/personal/default.nix b/modules/personal/default.nix
index 6093d5a..82f30fe 100644
--- a/modules/personal/default.nix
+++ b/modules/personal/default.nix
@@ -44,7 +44,10 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true;
- networking.firewall.allowedTCPPorts = [ 20 ];
+ networking.firewall = {
+ allowedTCPPorts = [ 20 1234 1337 ];
+ allowedUDPPorts = [ 12345 31337 ];
+ };
# zeroconf networking
services.avahi = {