
#-----------------------------------------------------------------------
# README
#-----------------------------------------------------------------------
#
# These rules were based on <http://www.planetunreal.com/TheAdminPage/
# portforwarding.htm> and <http://tsmservices.com/masq/detailform.php3?
# 222>.
#
#-----------------------------------------------------------------------
# CHANGES
#-----------------------------------------------------------------------
#
# 2000-11-17  Jean-Sebastien Morisset <jsmoriss@jsm-mv.dyndns.org>
#             Added UDP ports 61000:64000 which Robert Winder found
#             necessary to open.
# 2000-10-17  Jean-Sebastien Morisset <jsmoriss@jsm-mv.dyndns.org>
#             Initial module written for v5.0.
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 123
#n# unrealtournament
#a# accept
#t# hosts
#
#   |--------------------------------------------------------------------|
#d# UnrealTournament
#d#
#d# UnrealTournament's server port must be set to 7777 (default).
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

udp_ports="7777:7779 27500 27900 61000:64000"

for host in `Option_Value accept $INTOPT unrealtournament hosts`
do
	Accept_Hostports local udp "UnrealTournament" $host $udp_ports
done

unset udp_ports host

