User guide

Firewall Firewall command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-116
4.3.2.0.9 FIREWALL ADD DOMAINFILTER
Syntax
FIREWALL ADD DOMAINFILTER <filtername> <policyname> <urlstring>
<starttime> <endtime>
Description This command adds a new domainfilter. Your must specify the url which is an alphanu-
meric string including wildcard chars("*") and ".".
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 add domainfilter all_http ext-int www.*.com 10:00:00 18:00:00
4.3.2.0.10 FIREWALL SET DOMAINFILTER
Syntax firewall SET domainfilter RULEACTION {<ALLOW|DENY>}
Description This command is used to change the default action required for every created domainfil-
ter.
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 add domainfilter ruleAction allow
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
urlstring Any alphanumeric string which represents a valid
domain name. includes '*' to support wildcards.
N/A
starttime Start time from when filter is active. Format will
be in 24 hour hh:mm:ss
N/A
endtime Time after which filter is no more active. N/A
Option Description Default Value
allow allows all the domainfilters created N/A
deny denies all the domainfilters created . N/A