X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/2c23db94feafe3a8db9aa4b3e7d7640857c18225..d359f4f7ab3e4cd36f9a973a996292fe8e5cf94e:/jem.m4 diff --git a/jem.m4 b/jem.m4 index a1e9f92..ecbed74 100644 --- a/jem.m4 +++ b/jem.m4 @@ -36,15 +36,18 @@ iptables -A inbound -g sauce -m set --match-set sauce src || : allowservices inbound tcp \ ssh \ ident \ - smtp submission \ imaps \ 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