
#-----------------------------------------------------------------------
# README
#-----------------------------------------------------------------------
#
# These rules were based on the Netstorm Diagnostics program (NSUTIL)
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#n# netstorm
#a# forward
#t# host
#
#   |--------------------------------------------------------------------|
#d# Netstorm
#d#
#d# You can only enter a single LAN hostname/IP who can become the
#d# battlemaster. Other LAN hosts can join and play the game. Make sure
#d# the accept-netstorm-hosts option is set to the game servers and
#d# and players. Remember to open the private interface ports (6799:6800)
#d# if using strict or paranoid mode.
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

tcp_ports="6799:6800"

for host in `Option_Value forward $INTOPT netstorm host`
do
	Forward_Hostports tcp "Netstorm" $host $tcp_ports
done

unset udp_ports host

