[Prev][Next][Report an Error]

J-Web Configuration

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. See the Junos OS Security Configuration Guide for profile list information.

Configure a URL Pattern List Custom Object as follows:

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.

  1. Select Configure>Security>UTM>Custom Objects.
  2. From the URL Pattern List tab , click Add to create URL pattern lists.
  3. Next to URL Pattern Name, enter a unique name for the list you are creating. This name appears in the Custom URL Category List Custom Object page for selection.
  4. Next to URL Pattern Value, enter the URL or IP address you want added to list for bypassing scanning.

    Note: URL pattern wildcard support—The wildcard rule is as follows: \*\.[]\?* and you must precede all wildcard URLs with http://. You can only use “*” if it is at the beginning of the URL and is followed by a “.”. You can only use “?” 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://*.

  5. 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.

  6. Click OK to save the selected values as part of the URL pattern list you have created.
  7. 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.

Configure a custom URL category list custom object as follows ():

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. URL pattern list custom objects are described in J-Web Configuration.

  1. Select Configure>Security>UTM>Custom Objects.
  2. From the URL Category List tab, click Add to create URL category lists.
  3. Next to URL Category Name, enter a unique name for the list you are creating. This name appears in the URL Whitelist, Blacklist, and Custom Category lists when you configure Web filtering global options.
  4. 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.
  5. Click OK to save the selected values as part of the custom URL list you have created.
  6. 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.

Now that your custom objects have been created, you can configure the integrated Web filtering feature profile.

  1. Select Configure>Security>UTM>Global options.
  2. In the Web Filtering, 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.

  3. Next to URL blacklist, select the Custom URL list you created from the list.

    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.

  4. In the Filtering Type section, select the type of Web filtering engine you are using.

    In this case, you would select Surf Control Integrated.

  5. 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).
  6. Next to Cache Size, enter a size limit, in kilobytes, for the cache (500 KB is the default).
  7. Next to Server Host, enter the Surf Control server name or IP address.
  8. Next to Server Port, enter the port number for communicating with the Surf Control server (default ports are 80, 8080, and 8081).
  9. Click OK to save these values.
  10. 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.
  11. Select Web Filtering, under UTM, in the left pane.
  12. 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.)
  13. In Profile name, enter a unique name for this Web filtering profile.
  14. Select the Profile Type. In this case, select Surf Control.
  15. Next to Default action, select Permit, Log and permit, or Block.

    This is the default action for this profile for requests that experience errors.

  16. Next to Custom Block Message, enter a custom message to be sent when HTTP requests are blocked.
  17. 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.

  18. Next to Custom block message subject, enter text to appear in the subject line of your custom message for this block notification.
  19. Select the Fallback options tab.
  20. 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.
  21. Next to Server Connectivity, select Log and Permit or Block as the action to occur when a request fails for this reason.
  22. Next to Timeout, select Log and Permit or Block as the action to occur when a request fails for this reason.
  23. Next to Too Many Requests, select Log and Permit or Block as the action to occur when a request fails for this reason.
  24. Click Save.
  25. Select Custom Objects, under UTM, in the left pane.
  26. Select the URL category list tab.
  27. In the custom URL category list section, click Add to use a configured custom URL category list custom object in the profile.
  28. Next to Categories, select a configured custom object from the list.
  29. Next to Actions, select Permit, Block, or Log and Permit from the list.
  30. Click Add.
  31. Click OK.
  32. 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.

Next, you configure a UTM policy for Web filtering to which you attach the content filtering profile you have configured.

  1. Select Configure>Security>Policy>UTM Policies.
  2. From the UTM policy configuration window, click Add to configure a UTM policy.

    The policy configuration pop-up window appears.

  3. Select the Main tab in pop-up window.
  4. In the Policy Name box, enter a unique name for the UTM policy you are creating.
  5. In the Session per client limit box, enter a session per client limit from 0 to 20000 for this UTM policy.
  6. 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.
  7. Select the Web Filtering profiles tab in the pop-up window.
  8. Next to HTTP profile, select the profile you have configured from the list.
  9. Click OK.
  10. 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.

Next, you attach the UTM policy to a security policy that you create.

  1. Select Configure>Security>Policy>FW Policies.
  2. From the Security Policy window, click Add to configure a security policy with UTM.

    The policy configuration pop-up window appears.

  3. In the Policy tab, enter a name in the Policy Name box.
  4. Next to From Zone, select a zone from the list.
  5. Next to To Zone, select a zone from the list.
  6. Choose a Source Address.
  7. Choose a Destination Address.
  8. Choose an Application. Do this 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 them to the Matched box.
  9. 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.

  10. Select the Application Services tab in the pop-up window.
  11. Next to UTM Policy, select the appropriate policy from the list.

    This attaches your UTM policy to the security policy.

    Note: There are several fields on this page that are not described in this section. See the section on Security Policies for detailed information on configuring security policies and all the available fields.

  12. Click OK.
  13. 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.


[Prev][Next][Report an Error]