## Externally visible services.
allowservices inbound tcp \
ssh \
+ ident \
smtp submission \
http https \
imaps
-p $p --destination-port $port_dns
done
-## Allow smb and nmb to untrusted hosts. This is a bit experimental.
-run iptables -A inbound -j ACCEPT \
- -s 172.29.198.0/24 \
- -p udp -m multiport --destination-ports \
- $port_netbios_ns,$port_netbios_dgm
-run iptables -A inbound -j ACCEPT \
- -s 172.29.198.0/24 \
- -p tcp -m multiport --destination-ports \
- $port_netbios_ssn,$port_microsoft_ds
-
m4_divert(-1)
###----- That's all, folks --------------------------------------------------