Chapter 29 Secure Policy
ZyWALL Series CLI Reference Guide
230
• Set the action the Zyxel Device is to take on packets which match this rule.
The following command displays the default IPv4 secure policy rule that applies to the WAN to Zyxel
Device packet direction. The secure policy rule number is in the rule’s priority number in the global rule
list.
Router# configure terminal
Router(config)# service-object MyService tcp eq 1234
Router(config)# address-object Dest_1 10.0.0.10-10.0.0.15
Router(config)# secure-policy insert 3
Router(secure-policy)# from WAN
Router(v)# to LAN
Router(secure-policy)# destinationip Dest_1
Router(secure-policy)# service MyService
Router(secure-policy)# action allow
Router(config)# show secure-policy WAN ZyWALL
secure-policy rule: 11
name: WAN_to_Device
description:
user: any, schedule: none
from: WAN, to: ZyWALL
source IP: any, source port: any
destination IP: any, service: Default_Allow_WAN_To_ZyWALL
log: no, action: allow, status: yes
connection match: no
content-filter profile: none
enable: no, log: by-profile
anti-spam profile: none
enable: no, log: by-profile
anti-virus profile: none
enable: no, log: by-profile
idp profile: none
enable: no, log: by-profile
ssl-inspection profile: none
enable: no, log: by-profile
app-patrol profile: none
enable: no, log: by-profile