#-----------------------------------------------------------------------
# Copyright (C) 2000-2001, Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#-----------------------------------------------------------------------
# $Id: 225-termserv-clients,v 1.2 2001/12/27 22:58:59 dholmes 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
service_port="3389 1494"       # port number for this service

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

unset module_name module_type service_name service_port host

