Chapter 43 Content Filtering
ZyWALL Series CLI Reference Guide
399
4 To block traffic that goes through the Zyxel Device from the LAN to the Internet, you need to apply the
DNS content filter profile SocialNetworks to security policies LAN1_Outgoing and LAN2_Outgoing. Enter
sub-command mode for configuring the security policy LAN1_Outgoing.
5 Apply the DNS content filter profile SocialNetworks to the security policies’ DNS content filter profile. Set
the log to log by-profile to generate a log for all traffic that matches criteria in the profile. Exit sub-
command mode.
6 Repeat step 7 and step 8 to apply the DNS content filter profile SocialNetworks to the security policy
LAN2_Outgoing.
Router(config-dns-content-filter-profile-SocialNetworks)# action redirect
Router(config-dns-content-filter-profile-SocialNetworks)# log
Router(Host)# exit
Router(config)# secure-policy 1
Router(secure-policy)# dns-cf-profile
<profile name>
Router(secure-policy)# dns-cf-profile SocialNetworks
log no
Router(secure-policy)# dns-cf-profile SocialNetworks log by-profile
activate deactivate
Router(secure-policy)# dns-cf-profile SocialNetworks log by-profile
activate
Router(secure-policy)# exit