
#-----------------------------------------------------------------------
# Copyright (C) 2000-2002, Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#-----------------------------------------------------------------------
# $Id: 225-termserv-clients,v 1.3 2002/03/04 16:28:36 jsmoriss Exp $
#-----------------------------------------------------------------------
# README
#-----------------------------------------------------------------------
#
# To install, copy this file to /etc/firewall/modules/public/services/
# 225-termserv-clients and execute rc.firewall with the --update-config
# parameter. The proper options will be added to the configuration file.
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 123
#a# accept
#i# cluster
#n# termserv
#t# clients
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

module_name="termserv"         # module name used in options
module_type="clients"          # the module type (clients, servers, etc.)
service_name="Terminal Server" # displayed on-screen
tcp_service_port="3389 1494"   # tcp port numbers
udp_service_port="1604"        # udp browser port

for host in `Option_Value accept $INTOPT $module_name $module_type`
do
	Hostports accept local tcp "$service_name" $host $tcp_service_port
	Hostports accept local udp ""              $host $udp_service_port
done

unset module_name module_type service_name tcp_service_port udp_service_port host
