adds various firewall rules

This commit is contained in:
Menno van Leeuwen 2024-11-16 00:19:14 +01:00
parent e3f0493630
commit 9235298118
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -20,9 +20,14 @@
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPorts = [ allowedTCPPorts = [
# SSH 400 # SSH
400 80 # HTTP
443 # HTTPS
22 # Git over SSH
32400 # Plex
];
allowedUDPPorts = [
51820 # WireGuard
]; ];
allowedUDPPorts = [ ];
}; };
} }