ZyXEL Communications 4.04 User Manual

Page of 204
Chapter 15 IP Commands
ZyWALL (ZyNOS) CLI Reference Guide
104
15.1.6  Content Filtering Command Examples
The following commands configure example content filtering trusted and untrusted web site 
objects and keyword objects. 
The following example enables content filtering, loads content filtering policy one, configures 
it with the following settings, and saves it. 
• Content Filtering: Enabled
• Policy: Enabled
• IP Group: IP addresses 192.168.1.33-192.168.1.66
• Customized Rule Enforcement: Enabled
• Customized Rule: Untrusted, www.hacking-example.com
• Web Feature Blocking: Block java
• Schedule: Enabled
• Schedule Type: Everyday
ras> ip cf object add trust www.good.com
ras> ip cf object add trust www.my-company-example.com
ras> ip cf object add untrust www.bad.com
ras> ip cf object add untrust www.hacking-example.com
ras> ip cf object add keyword porn
ras> ip cf object add keyword hacking
ras> ip cf object display
Object list:
    Trusted domain
    ----------------------------------------
    [1] www.good.com
    [2] www.my-company-example.com
    Untrusted domain
    ----------------------------------------
    [1] www.bad.com
    [2] www.hacking-example.com
    Keyword
    ----------------------------------------
    [1] porn
    [2] hacking
ras> ip cf object save