Chapter 2 Common Commands

Use these commands to enable anti-spam on the ZyWALL for traffic going from WAN1 to LAN.

ras> as enable 1 Anti spam: enabled

ras> as dir wan1 lan on

From\To lan wan1 dmz wan2 wlan vpn

=======================================

lan

off

off

off

off

off

off

wan1

on

off

off

off

off

off

dmz

off

off

off

off

off

off

wan2

off

off

off

off

off

off

wlan

off

off

off

off

off

off

vpn

off

off

off

off

off

off

ras>

 

 

 

 

 

 

Use the following commands to enable anti-virus on the ZyWALL You first need to use the load command.

ras> av load

ras> av config enable on ras> av save

ras> av disp AV Enable : On

AV Forward Over ZIP Session : Off

AV Forward Over ZIP Session : Off

------------------------------------

Use the following commands to enable content filtering on the ZyWALL, then on the external database (DB) and then display the default policy.

ras> ip cf

common enable on

 

ras>

ip

cf

externalDB enable on

 

ras>

ip

cf

policy displayAll

IP Group

index

Name

Active

 

 

 

 

 

Start Addr End Addr

==========================================================================

1 Default Policy

Y

0.0.0.0/0.0.0.0

The default policy does not actually block anything. Use the following commands to edit the default policy, turn the external database service content filtering (category-based content filtering), see what the categories are, block a category 92 in the following example) and then save the policy.

 

27

ZyWALL (ZyNOS) CLI Reference Guide