User guide

Firewall command reference Firewall
4-117
iMG/RG Software Reference Manual (IPNetwork Functions)
4.3.2.0.11 FIREWALL DELETE DOMAINFILTER
Syntax firewall delete domainfilter <filtername> <policyname>
Description This command is used for deleting the URL filter created using the previous command
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example -->
firewall delete domainfilter all_http ext-int
See also firewall add portfilter, firewall list domainfilter
4.3.2.0.12 FIREWALL ADD PORTFILTER
Syntax FIREWALL ADD PORTFILTER <name> <policyname> {PROTOCOL <pro-
tocol>} {INBOUND|OUTBOUND|BOTH}
FIREWALL ADD PORTFILTER <name> <policyname> {TCP|UDP} <startport> <end-
port> {INBOUND|OUTBOUND|BOTH}
FIREWALL ADD PORTFILTER <name> <policyname> {ICMP|SMTP|HTTP|FTP|TEL-
NET} {INBOUND|OUTBOUND|BOTH}
Description This command adds a portfilter to an existing firewall policy. Portfilters are individual
rules that determine what kind of traffic can pass between the two interfaces specified in
the firewall add policy command.
There are three ways that you can add a portfilter depending on the type of protocol that
you want to feature in the portfilter:
Specify the number of a non-TCP or non-UDP protocol (for more information, see http://www.ietf.org/rfc/
rfc1700.txt)
Specify TCP or UDP protocol, together with an application’s start/end port numbers
Specify one of the listed protocols, applications or services. These are provided by the Firewall as popular
examples that you can use. You do not need to specify the portnumber - the Firewall does this for you.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Option Description Default Value
filtername Any alphanumeric string. This is the name of the
domain filter which should be unique..
N/A
policyname Firewall policy. N/A