sigma: allow ad hoc ports in firewall

This commit is contained in:
Casper V. Kristensen 2024-05-10 16:36:10 +02:00
parent 4a2a36e57d
commit a18d647cb3

View file

@ -136,27 +136,35 @@
allowedUDPPortRanges = lib.mkForce []; allowedUDPPortRanges = lib.mkForce [];
interfaces = { interfaces = {
"enp5s0" = { "enp5s0" = {
allowedTCPPorts = [
1234 # ad hoc
1337 # ad hoc
139 # Samba
22 # SSH
25 # Mail SMTP
443 # Caddy
445 # Samba
465 # Mail ESMTP
8000 # ad hoc
8080 # ad hoc
80 # Caddy
993 # Mail IMAPS
];
allowedUDPPorts = [ allowedUDPPorts = [
139 # Samba 139 # Samba
445 # Samba 445 # Samba
]; ];
allowedTCPPorts = [
139 # Samba
22 # SSH
25 # Mail SMTP
443 # Caddy
445 # Samba
465 # Mail ESMTP
80 # Caddy
993 # Mail IMAPS
];
}; };
"wg-sigma-public" = { "wg-sigma-public" = {
allowedTCPPorts = [ allowedTCPPorts = [
1234 # ad hoc
1337 # ad hoc
22 # SSH 22 # SSH
25 # Mail SMTP 25 # Mail SMTP
443 # Caddy 443 # Caddy
465 # Mail ESMTP 465 # Mail ESMTP
8000 # ad hoc
8080 # ad hoc
80 # Caddy 80 # Caddy
993 # Mail IMAPS 993 # Mail IMAPS
]; ];