Configuring Integrated Web Filtering (J-Web Procedure)
- Configuring Integrated Web Filtering Custom Objects (J-Web Procedure)
- Configuring Integrated Web Filtering Feature Profiles (J-Web Procedure)
- Configuring Integrated Web Filtering UTM Policies (J-Web Procedure)
- Attaching Integrated Web Filtering UTM Policies to Security Policies (J-Web Procedure)
Configuring Integrated Web Filtering Custom Objects (J-Web Procedure)
To configure Web filtering using the J-Web Configuration editor, if you are using custom objects, you must first create those custom objects (URL pattern list, custom URL category list).
![]() | Note: Rather than or in addition to custom object lists, you can use included default lists and included whitelist and blacklist categories. |
Configure a URL pattern list custom object and a URL category list custom object:
- Select Configure>Security>UTM>Custom Objects.
- From the URL Pattern List tab, click Add to create URL pattern lists.
- Next to URL Pattern Name, enter a unique name. This name appears in the Custom URL Category List Custom Object page for selection.
- Next to URL Pattern Value,
enter the URL or IP address you want added to list for bypassing scanning.
When entering the URL pattern, note the following wildcard character support:
- The \*\.[]\?* wildcard characters are supported.
- You must precede all wildcard URLs with http://.
- You can only use the asterisk * wildcard character if it is at the beginning of the URL and is followed by a period.
- You can only use the question mark ? wildcard character at the end of the URL.
- The following wildcard syntax IS supported: http://*.juniper.net, http://www.juniper.ne?, http://www.juniper.n??.
- The following wildcard syntax is NOT supported: *.juniper.net , www.juniper.ne?, http://*juniper.net, http://*.
- Click Add to add your URL pattern to the Values list box. The list can contain up to 8192 items. You can also select an entry and use the Delete button to delete it from the list. Continue to add URLs or IP addresses in this manner.
- Click OK to save the selected values as part of the URL pattern list you have created.
- If the configuration item is saved successfully,
you receive a confirmation and you must click OK again. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Note: Because you use URL pattern lists to create custom URL category lists, you must configure URL pattern list custom objects before you configure a custom URL category list.
- Select Configure>Security>UTM>Custom Objects.
- From the URL Category List tab, click Add to create URL category lists.
- Next to URL Category Name, enter a unique name. This name appears in the URL Whitelist, Blacklist, and Custom Category lists when you configure Web filtering global options.
- In the Available Values box, select a URL Pattern List name from the list for bypassing scanning and click the right arrow button to move it to the Selected Values box.
- Click OK to save the selected values as part of the custom URL list you have created.
- If the configuration item is saved successfully, you receive a confirmation and you must click OK again. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Configuring Integrated Web Filtering Feature Profiles (J-Web Procedure)
After you create custom objects, configure the integrated Web filtering feature profile:
- Select Configure>Security>UTM>Global options.
- In the Web Filtering section, next to URL whitelist, select the custom URL list you created from the available options. This is the first filtering category that both integrated and redirect Web filtering use. If there is no match, the URL is sent to the SurfControl server.
- Next to URL blacklist, from the Custom URL list, select the list that you created. This is the first filtering category that both integrated and redirect Web filtering use. If there is no match, the URL is sent to the SurfControl server.
- In the Filtering Type section, select the type of Web filtering engine you are using. In this case, you would select Surf Control Integrated.
- In the SurfControl Integrated options section, next to Cache timeout, enter a timeout limit, in minutes, for expiring cache entries (24 hours is the default and the maximum allowed life span).
- Next to Cache Size, enter a size limit, in kilobytes, for the cache (500 KB is the default).
- Next to Server Host, enter the Surf Control server name or IP address.
- Next to Server Port, enter the port number for communicating with the Surf Control server (default ports are 80, 8080, and 8081).
- Click OK to save these values.
- If the configuration item is saved successfully, you receive a confirmation and you must click OK again. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
- Under UTM, in the left pane, select Web Filtering.
- In Web Filtering Profiles Configuration, click Add to create a profile for Surf Control Integrated Web filtering. (To edit an existing item, select it and click Edit.)
- In Profile name, enter a unique name.
- From the Profile Type list, select Surf Control.
- Next to Default action, select Permit, Log and permit, or Block. This is the default action for this profile for requests that experience errors.
- Next to Custom Block Message, enter a custom message to be sent when HTTP requests are blocked.
- Next to Timeout, enter a value, in seconds. Once this limit is reached, fail mode settings are applied. The default here is 10 seconds. You can enter a value from 10 to 240 seconds.
- Next to Custom block message subject, enter text to appear in the subject line of your custom message for this block notification.
- Select the Fallback options tab.
- Next to Default, select Log and Permit or Block as the action to occur when a request fails for any reason not specifically called out.
- Next to Server Connectivity, select Log and Permit or Block as the action to occur when a request fails for this reason.
- Next to Timeout, select Log and Permit or Block as the action to occur when a request fails for this reason.
- Next to Too Many Requests, select Log and Permit or Block as the action to occur when a request fails for this reason.
- Click Save.
- Under UTM, in the left pane, select Custom Objects.
- Select the URL category list tab.
- In the custom URL category list section, click Add to use a configured custom URL category list custom object in the profile.
- Next to Categories, select a configured custom object from the list.
- Next to Actions, select Permit, Block, or Log and Permit from the list.
- Click Add.
- Click OK.
- If the configuration item is saved successfully, you receive a confirmation and you must click OK again. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Configuring Integrated Web Filtering UTM Policies (J-Web Procedure)
After you have created a content filtering feature profile, configure a UTM policy for Web filtering:
- Select Configure>Security>Policy>UTM Policies.
- From the UTM policy configuration window, click Add to configure a UTM policy. The policy configuration pop-up window appears.
- Select the Main tab.
- In the Policy Name box, enter a unique name.
- In the Session per client limit box, enter a session per client limit from 0 to 20000 for this UTM policy.
- For Session per client over limit, select one of the following: Log and Permit or Block. This is the action the device takes when the session per client limit for this UTM policy is exceeded.
- Select the Web Filtering profiles tab.
- Next to HTTP profile, select the profile you have configured from the list.
- Click OK.
- If the policy is saved successfully, you receive a confirmation and you must click OK again. If the profile is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Attaching Integrated Web Filtering UTM Policies to Security Policies (J-Web Procedure)
After you have created a UTM policy, attach it to a security policy:
- Select Configure>Security>Policy>FW Policies.
- From the Security Policy window, click Add to configure a security policy with UTM. The policy configuration pop-up window appears.
- In the Policy tab, enter a name in the Policy Name box.
- Next to From Zone, select a zone from the list.
- Next to To Zone, select a zone from the list.
- Choose a Source Address.
- Choose a Destination Address.
- Choose an application by selecting junos-protocol (for all protocols that support Web filtering, http in this case) in the Application Sets box and clicking the —> button to move it to the Matched box.
- Next to Policy Action, select one of the following: Permit, Deny, or Reject.
Note: When you select Permit for Policy Action, several additional fields become available in the Applications Services tab, including UTM Policy.
- Select the Application Services tab.
- Next to UTM Policy, select the appropriate policy from the list. This attaches your UTM policy to the security policy.
- Click OK.
- If the policy is saved successfully, you receive
a confirmation and you must click OK again. If
the profile is not saved successfully, you can click Details in the pop-up window that appears to discover why.
You must activate your policy in order to apply it.