Vai al contenuto

port

Description

Specifies a port for a UDP or TCP packet.

Synopsis

{block | pass} {in | out} proto proto_value {to | from} address_scope port op port_value
proto_value is tcp or udp.
address_scope can be a unique IP address, an address space, or the keywords !, all, me, or any.
op is a mathematical operator. Wind River Firewall recognizes the operators defined in , which can be specified using mathematical signs or text.
Table A-1 :   Operators Valid with Port Keyword
OperatorText DesignationDescription
“=”eqequal
“!=”nenot equal
“<"ltless than
“<="leless than or equal
“>”gtgreater than
“>=”gegreater than or equal to
“<>“oroutside range
“><"irinside range
For “<>“ and “><", the syntax is actually as follows:
port port_value op port_value
For example, a specification such as port 10000 “<>” 20000 means that all port numbers less than 10000 or greater than 20000 match the rule.
port_value is an individual port or an interval.