
#-----------------------------------------------------------------------
# Copyright (C) 2000-2001, Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#-----------------------------------------------------------------------
# $Id: netstorm,v 1.4 2001/08/11 17:01:21 jsmoriss Exp $
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#n# netstorm
#a# accept
#t# hosts
#m# 123
#i# cluster novirtual
#
#   |--------------------------------------------------------------------|
#d# Netstorm (Remote ports 6799:6800 TCP)
#d# You probably need to open to ANY/0, as Netstorm is a peer to peer
#d# protocol which changes server to one of the players (Battlemaster).
#d# Also look at the forward-netstorm-hosts option
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

tcp_ports="6799:6800"

for host in `Option_Value accept $INTOPT netstorm hosts`
do
	Hostports accept remote tcp "Netstorm" $host $tcp_ports
	Hostports accept local  tcp ""         $host $tcp_ports

done

unset tcp_ports host

