Update firewall ports

This commit is contained in:
albert 2024-10-22 15:02:14 +02:00
parent dc24ef3e85
commit 6918146846
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -2,7 +2,17 @@
networking = { networking = {
firewall = { firewall = {
enable = true; enable = true;
interfaces.wireguard0 = { interfaces = {
tailscale0 = {
allowedTCPPorts = [
22 # SSH
53 # DNS
80 # HTTP
443 # HTTPS
5696 # dsm-kmip server
];
};
wireguard0 = {
allowedTCPPorts = [ allowedTCPPorts = [
# 53 # DNS # 53 # DNS
80 # HTTP 80 # HTTP
@ -16,7 +26,6 @@
587 # Mailserver 587 # Mailserver
993 # Mailserver 993 # Mailserver
4190 # Mailserver 4190 # Mailserver
# 5696 # dsm-kmip server
4443 # Jitsi 4443 # Jitsi
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
@ -28,4 +37,5 @@
}; };
}; };
}; };
};
} }