From a48528fdf5f1b91d173917076260f7bc6ae604f5 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Wed, 16 Apr 2025 09:04:23 +0200 Subject: [PATCH] Allow mDNS requests --- templates/personal/desktop/nftables.j2 | 3 +++ templates/personal/xps/nftables.j2 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/templates/personal/desktop/nftables.j2 b/templates/personal/desktop/nftables.j2 index 2f37138..29f4cd1 100644 --- a/templates/personal/desktop/nftables.j2 +++ b/templates/personal/desktop/nftables.j2 @@ -20,6 +20,9 @@ table inet filter { ip protocol icmp accept ip6 nexthdr icmpv6 accept + # allow mDNS + udp dport 5353 accept + # allow ssh tcp dport ssh accept diff --git a/templates/personal/xps/nftables.j2 b/templates/personal/xps/nftables.j2 index 5140777..f1f7d40 100644 --- a/templates/personal/xps/nftables.j2 +++ b/templates/personal/xps/nftables.j2 @@ -20,6 +20,9 @@ table inet filter { ip protocol icmp accept ip6 nexthdr icmpv6 accept + # allow mDNS + udp dport 5353 accept + # allow ssh tcp dport ssh accept