Example: Configuring Integrated Web Filtering Custom Objects (CLI)

To configure integrated Web filtering using the CLI, you must first create your custom objects.

To create custom objects:

  1. Create a URL pattern list and add values to it. The following example creates the urllist3 custom object:

    user@host# set security utm custom-objects url-pattern urllist3 value [https://www.juniper.net 1.2.3.4]

    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://*.

    Note: Rather than or in addition to custom object lists, you can use included default lists and included whitelist and blacklist categories.

    Note: Because you use URL pattern lists to create custom URL category lists, you must configure URL pattern list custom objects before you configure custom URL category lists.

  2. Configure a custom URL category list custom object using a URL pattern list. The following example applies the custurl3 URL pattern list to the custurl3 custom object:

    user@host# set security utm custom-objects custom-url-category custurl3 value urllist3

Related Topics

JUNOS Software Feature Support Reference for SRX Series and J Series Devices