22 create_set allowed_
${p} bitmap
:port range
0-65535
23 if ! $IPTABLES -C INPUT
${IFOPT} -p ${p} -m set --match-set allowed_
${p} dst
-j ACCEPT
25 $IPTABLES -A INPUT
${IFOPT} -p ${p} -m set --match-set allowed_
${p} dst
-j ACCEPT
27 if ! $IP6TABLES -C INPUT
${IF6OPT} -p ${p} -m set --match-set allowed_
${p} dst
-j ACCEPT
29 $IP6TABLES -A INPUT
${IF6OPT} -p ${p} -m set --match-set allowed_
${p} dst
-j ACCEPT
33 for sfx
in '' ".$(hostname -s)"
35 if [ -e "services${sfx}" ]
37 for l
in $(decommentcat "services${sfx}")