service Commands
782
E-DOC-CTC-20080409-0002 v2.0
service host rule add
Create/define service portmap.
SYNTAX:
service host rule add name = <{AIM Talk|BearShare|BitTorrent|
Checkpoint FW1 VPN|Counter Strike|Server
(World Wide Web)|HTTPS Server|iMesh|KaZaA|Mail
Server (SMTP)|Microsoft Remote Desktop|MSN
Game Zone|MSN Game Zone (DX)|NNTPServer|PPTP
Server|Secure Shell Server (SSH)|Steam Games|
TelnetServer|VNC|Xbox Live}>
[protocol = <{any|tcp|udp}>]
[baseport = <{at-echo|at-nbp|at-rtmp|at-zis|
auth|bgp|biff|bootpc|bootps|finger|ftp|ftp-
data|gopher|h323|httpproxy|ike|ils|imap2|
imap3|ingres-net|ipcserver|ipx|irc-o|irc-u|
kerberos|ldap|login|netbios-dgm|netbios-ns|
netbios-ssn|netwall|netware-ip|new-rwho|nfds|
nicname|nntp|ntalk|ntp|pcmail-srv|pop2|pop3|
printer|qotd|realaudio|rip|rtelnet|rtsp|sip|
smtp|snmp|snmptrap|snpp|sntp|sql*net|sql-
net|sqlserv|sunrpc|syslog|systat|talk|...}
ornumber>]
portrange = <port-range>
[triggerport = <{at-echo|at-nbp|at-rtmp|at-
zis|auth|bgp|biff|bootpc|bootps|finger|ftp|
ftp-data|gopher|h323|httpproxy|ike|ils|imap2|
imap3|ingres-net|ipcserver|ipx|irc-o|irc-u|
kerberos|ldap|login|netbios-dgm|netbios-ns|
netbios-ssn|netwall|netware-ip|new-rwho|nfds|
nicname|nntp|ntalk|ntp|pcmail-srv|pop2|pop3|
printer|qotd|realaudio|rip|rtelnet|rtsp|sip|
smtp|snmp|snmptrap|snpp|sntp|sql*net|sql-net|
sqlserv|sunrpc|syslog|systat|talk|...} or
number>]
[triggerprotocol = <{any|tcp|udp}>]
where:
name The name of the service. REQUIRED
protocol Protocol type. OPTIONAL
baseport Inbound base port. OPTIONAL
portrange The outbound portrange. REQUIRED
triggerport Defines outbound trigger port. OPTIONAL
triggerprotocol Protocol of the trigger port. OPTIONAL