classify.m4: Explicitly class 255.255.255.255 as broadcast.
[firewall] / jem.m4
diff --git a/jem.m4 b/jem.m4
index 4a9f9c6..ecbed74 100644 (file)
--- a/jem.m4
+++ b/jem.m4
@@ -40,10 +40,14 @@ allowservices inbound tcp \
        http https rsync \
        git
 
+allowservices inbound-untrusted tcp \
+       sunrpc mount nfs
+allowservices inbound-untrusted udp \
+       sunrpc mount nfs
+
 ## Provide DNS resolution to local untrusted hosts.
 for p in tcp udp; do
-  run iptables -A inbound -j ACCEPT \
-         -s 172.29.198.0/24 \
+  run ip46tables -A inbound -j ACCEPT \
          -p $p --destination-port $port_dns
 done