Fortinet Document Library

Version:


Table of Contents

5.3.0
Download PDF
Copy Link

Configuration overview

You can use scripts to perform actions that are not currently supported by the built-in feature set. Scripts enable you to use predefined script commands and variables to manipulate the HTTP request/response or select a content route, or get SSL info.

You can type or paste the script content into the configuration page.

Before you begin:

  • Create a script.
  • You must have Read-Write permission for Server Load Balance settings.

After you have created a script configuration object, you can specify it in the virtual server configuration.

To create a script configuration object:

  1. Go to Server Load Balance > Scripts.
  2. Click Create New to display the configuration editor.
  3. Complete the configuration as shown.
  4. Save the configuration.
Settings Guidelines

Name

Unique group name. No spaces or special characters.

After you initially save the configuration, you cannot edit the name.

Input

Type or paste the script.

Configuration overview

You can use scripts to perform actions that are not currently supported by the built-in feature set. Scripts enable you to use predefined script commands and variables to manipulate the HTTP request/response or select a content route, or get SSL info.

You can type or paste the script content into the configuration page.

Before you begin:

  • Create a script.
  • You must have Read-Write permission for Server Load Balance settings.

After you have created a script configuration object, you can specify it in the virtual server configuration.

To create a script configuration object:

  1. Go to Server Load Balance > Scripts.
  2. Click Create New to display the configuration editor.
  3. Complete the configuration as shown.
  4. Save the configuration.
Settings Guidelines

Name

Unique group name. No spaces or special characters.

After you initially save the configuration, you cannot edit the name.

Input

Type or paste the script.