Digi TransPort WR31 User Manual page 699

Hide thumbs Also See for TransPort WR31:
Table of Contents

Advertisement

Configure security settings
break
When specifying the break option, follow it with a user-defined label name or the predefined
end keyword. When followed by a label, the rule processor jumps to that label to continue
processing. When followed by the end keyword, rule processing is terminated and the packet is
treated according to the last matching rule. For example:
break ppp_label: on ppp 0
# insert rule processing here for packets that are not on ppp 0
break end
ppp_label:
# insert rule processing here for packets that are on ppp 0
on
The interface to which the rule applies; must be followed by a valid interface name. For example,
if you were only interested in applying a particular rule to packets being transmitted or received
by PPP 0, you would include ppp 0 in the rule. Valid interface-names are eth n, tun n or ppp n,
where n is the instance number.
oneroute
A rule will only match packets associated with the specified eroute. For example, including the
option oneroute 2 causes the rule to only match on packets transmitted or received over Eroute
2. The oneroute option can be followed with the keyword any, which will match if the packet is
on any eroute.
routeto
When the routeto option is specified and the firewall is processing a received packet, if the rule
is the last matching rule, the packet is tagged as being required to be routed to the specified
interface. For example, the following filter rule ensures all packets from 10.1.*.* to 1.2.3.4 on
the telnet port are all routed to ETH 1:
pass in break end routeto eth 1 from 10.1.0.0/16 to 1.2.3.4
port=telnet
oosed
Checks the out of service status of an interface. For example, including the option oosed ppp 1
would cause the rule to match only if interface PPP 1 is out of service.
[tos]
The Type of Service (TOS) to match. If included, the [tos] field consists of the keyword tos
followed by a decimal or hexadecimal code, identifying the TOS to match. For example, to block
any inbound packet on PPP 0 with a TOS of 0, you would use a rule such as:
block in on ppp 0 tos 0
Digi TransPort WR Routers User Guide
Firewall
694

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents