eggle.m4, local.m4, local.mk: Add new VPS `eggle'.
[firewall] / roadstar.m4
index 4947a80..5d628c9 100644 (file)
 ###--------------------------------------------------------------------------
 ### roadstar-specific rules.
 
-m4_divert(84)m4_dnl
+m4_divert(86)m4_dnl
 ## Externally visible services.
 allowservices inbound tcp \
        ssh \
        ident \
-       ftp ftp_data \
+       ftp \
        rsync \
-       http https squid \
-       git
+       http https squid ssquid
+
+allowservices inbound-untrusted tcp \
+       sunrpc mount nfs \
+       lpd
+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-untrusted -j ACCEPT \
          -p $p --destination-port $port_dns
 done