local.m4: Don't expect `forbidden' to return.
[firewall] / ibanez.m4
index 93a816e..617200b 100644 (file)
--- a/ibanez.m4
+++ b/ibanez.m4
 ###--------------------------------------------------------------------------
 ### ibanez-specific rules.
 
-m4_divert(84)m4_dnl
+m4_divert(86)m4_dnl
 ## Externally visible services.
 allowservices inbound tcp \
        ssh \
        ident
+allowservices inbound udp \
+       udpkey
 
 ## We have to provide NTP service.  The guests sync to our clock.
 ntpclient inbound $ntp_servers
 
+## Provide NTP service to untrusted clients.
+iptables -A inbound -p udp -j ACCEPT \
+       --source-port 123 --destination-port 123 \
+       -s 172.29.198.0/23
+ip6tables -A inbound -p udp -j ACCEPT \
+       --source-port 123 --destination-port 123 \
+       -s 2001:ba8:1d9::/48
+ip6tables -A inbound -p udp -j ACCEPT \
+       --source-port 123 --destination-port 123 \
+       -s 2001:8b0:c92::/48
+
 m4_divert(-1)
 ###----- That's all, folks --------------------------------------------------