USRobotics U.S. Robotics SureConnect ADSL Ethernet/USB Router User Manual

Page 178

Advertising
background image

U.S. Robotics SureConnect ADSL Ethernet/USB Router User Guide

unreach net(default) - 0
unreach host - 1
unreach port - 3
unreach srcfail - 5
unreach net-unknown - 6
unreach host-unknown - 7
unreach isolated - 8
unreach net-prohibited - 9
unreach host-prohibited - 10
unreach filter-prohibited - 13

Adds a firewall action. An action identifier is returned which can be used with the addrule
command. The addrule command is used to specify the types of packets that will be given this
action.

<action>
Specifies what happens when the packet enters. The following actions are possible:

Action Comment
Allow - Permits the packet to enter or leave the system.
Deny - Drops the packet.
Reset - Forces the TCP connection to be reset.
Reject - Drops the packet and issues an .unreach host. ICMP error.
Unreach - Drops the packet and sends the ICMP error specified with the -error_code option.
Divert - Changes the destination port of the packet. See the -port option.

-ifa <interface>
The name of the interface that this firewall action applies to. Typically this is the WAN interface
(atm0, ppp0).

-dir <direction>
Specifies whether the action applies to incoming, outgoing, or both incoming and outgoing
traffic. The allowable values for direction are in or out. If not specified, the action applies to both
incoming and outgoing traffic.

file:///P|/T_WRITER/Documentation/Released/9003%20(Guinness)/User%20Guide/9003%20(Guiness)%20prac%20template/cli.htm (54 of 71) [11/6/2002 8:58:46 AM]

Advertising