cat > /etc/apf/vnet/$addr.rules <<EOF
eout "{glob} loading $addr.rules"

# $addr.rules
VNET="$addr"
#
# Policy configurable options
# add custom modifications here
#
# You can either defined CPORT vars such as:
# IG_TCP_CPORTS="21,22,25,53,80,443,110,143,6000_7000"
# IG_UDP_CPORTS="53"
# IG_ICMP_TYPES="3,5,11,0,30,8"
# EG_TCP_CPORTS="21,25,80,443,43"
# EG_UDP_CPORTS="20,21,53"
# EG_ICMP_TYPES="all"
# EG_TCP_UID="0:22"
# EG_UDP_UID="0:53"
#
# Or you can defined standard iptable rules such as:
# \$IPT -A INPUT -p tcp -s 1.0.1.0.1 -d \$VNET --dport 10024 -j ACCEPT




#
# conf.apf configurable common ports
. $INSTALL_PATH/internals/cports.common
EOF
