This article provides examples for configuring, verifying, and troubleshooting redirect Web filtering (also known as URL filtering). For information about integrated Web filtering, refer to KB16334 - SRX Getting Started - Integrated Web Filtering [juniper.net] . For other topics, refer to KB15694 - SRX Getting Started - Configuration Examples & Troubleshooting (JumpStation) [juniper.net] .
How to configure redirect Web filtering by using the predefined JUNOS-wf-websense-default profile.
This section contains the following:
Configuring redirect Web filtering consists of the following tasks:
You do not need a license on the SRX device to use the redirect Web filtering feature.
user@host# set security utm feature-profile web-filtering type websense-redirect user@host# set security utm feature-profile web-filtering websense-redirect profile junos-wf-websense-default server host 172.19.50.138 user@host# set security utm feature-profile web-filtering websense-redirect profile junos-wf-websense-default server port 15868 user@host# set security utm feature-profile web-filtering websense-redirect profile junos-wf-websense-default timeout 10 user@host# set security utm feature-profile web-filtering websense-redirect profile junos-wf-websense-default sockets 8
user@host# set security utm utm-policy custom-utm-policy web-filtering http-profile JUNOS-wf-websense-default
user@host# set security policies from-zone trust to-zone untrust policy default-permit then permit application-services utm-policy custom-utm-policy
UTM Web Filtering Feature Guide for Security Devices - See 'Redirect Web Filtering' links.
user@host> show security utm web-filtering status UTM web-filtering status: Server status: Websense redirect URL filtering user@host> show security utm web-filtering statistics UTM web-filtering statistics: Total requests: 0 white list hit: 0 Black list hit: 0 Server reply permit: 0 Server reply block: 0 Web-filtering sessions in total: 4000 Web-filtering sessions in use: 1 Fall back: log-and-permit block Default 0 0 Timeout 0 0 Connectivity 0 0 Too-many-requests 0 0
user@host> show security utm web-filtering status UTM web-filtering status: Server status: Websense redirect URL filtering user@host> show security utm web-filtering statistics
UTM web-filtering statistics: Total requests: 0 white list hit: 0 Black list hit: 0 Server reply permit: 0 Server reply block: 0 Web-filtering sessions in total: 4000 Web-filtering sessions in use: 1 Fall back: log-and-permit block Default 0 0 Timeout 0 0 Connectivity 0 0 Too-many-requests 0 0
user@host# set security traceoptions flag all user@host# set security utm traceoptions flag all user@host# set security utm application-proxy traceoptions flag all user@host# set security utm feature-profile web-filter traceoptions flag all
user@host# set security traceoptions flag all user@host# set security utm traceoptions flag all user@host# set security utm application-proxy traceoptions flag all user@host#
set security utm feature-profile web-filter traceoptions flag all
user@host> show log utmd-wf