CONFIG URLFILTERING RULE INSERT

Level

contentfilter+modify

History

Appears in 9.0.0

Description

Insert new rule at given line or Insert at the end if no ruleid is define.

Usage

index=<profile_idx> [ruleid=<digit>] state=on|off action=pass|block|blockpage0|blockpage1|blockpage2|blockpage3 urlgroup=<urlgroup object|urlcategory group object> [comment=<string>]
state : enable or disable the rule
index : profile number
ruleid : rule line number
action : action to apply
urlgroup : group name to use for filter
comment : comment for the rule

Example

CONFIG URLFILTERING RULE INSERT index=0 ruleid=3 action=block urlgroup=ecommerce comment="block ecommerce"