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_valueproto_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. |
Operator | Text Designation | Description |
“=” | eq | equal |
“!=” | ne | not equal |
“<" | lt | less than |
“<=" | le | less than or equal |
“>” | gt | greater than |
“>=” | ge | greater than or equal to |
“<>“ | or | outside range |
“><" | ir | inside range |
For “<>“ and “><", the syntax is actually as follows: |
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. |