Firewall Allow - Efficient Networks Router family Command Line Interface Manual

Table of Contents

Advertisement

®
Efficient Networks
Router family
Command Line Interface Guide

firewall allow

Creates a firewall rule that will be added to the firewall allow rules list. To view the
current allow firewall rules, use the
NOTE:
If NAT is enabled on the router, then the outgoing firewall rules should be specified in
terms of the private addresses. However, for inbound rules, the rules would need to
use the router's WAN address.
Mgmt Class
Security (R/W)
Input Format
firewall allow <protocol | application> [<parameters>]
Parameters
The following parameters specify the <protocol> (-p) or <application> (-a)
characteristics that a packet must have in order to match the firewall rule:
-p tcp | udp | icmp | <protocol number>
The packet must have the specified protocol.
-a imap | telnet | bootp | nntp | rpc | tftp | smtp | dns | ftp |
rexec | rsh | rlogin | syslog | winframe | rdp | http | https | ntp
| smb | ras | realaudio | netmeeting | aolim| quicktime | cuseeme |
netshow | pptp | nfs | nis | traceroute | sqlnet | ipsec
Packets must match the assigned application characteristics.
a
Integer, numerical protocol ID.
The following <parameters> specify additional characteristics that an IP packet must
have in order to match the firewall rule.
-sp <ICMP type> | <first source port>[:<last source port>]
If the protocol is ICMP, the packet must match the specified ICMP type. If the pack-
et is TCP or UDP, if only one source port is specified, the packet must have the
specified port, or if a range is defined, a source port that is within the specified port
range. If no source port is specified, the firewall rule matches any source port in the
range 0 - 65535.
-dp <ICMP code> | <first dest port>[:<last dest port>]
If the protocol is ICMP, the packet must match the specified ICMP code. If the pack-
et is TCP or UDP, if only one port is specified, the packet must have the specified
destination port, or if a range is defined, a port that is within the specified destina-
tion port range. If no destination port is specified, the firewall rule matches any des-
tination port in the range 0 - 65535.
-da <first dest ip addr>[:<last dest ip addr>]
®
Efficient Networks
Chapter 18: Stateful Firewall Commands
firewall list
command.
a
Page 18-3

Advertisement

Table of Contents
loading

Table of Contents