Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure custom Internet Services.

  config firewall internet-service-custom
      Description: Configure custom Internet Services.
      edit <name>
          set reputation {integer}
          set comment {var-string}
          config entry
              Description: Entries added to the Internet Service database and custom database.
              edit <id>
                  set protocol {integer}
                  config port-range
                      Description: Port ranges in the custom entry.
                      edit <id>
                          set start-port {integer}
                          set end-port {integer}
                      next
                  end
                  set dst <name1>, <name2>, ...
              next
          end
      next
  end

config firewall internet-service-custom

Parameter Name Description Type Size
reputation Reputation level of the custom Internet Service. integer Minimum value: 0 Maximum value: 4294967295
comment Comment. var-string Maximum length: 255

config entry

Parameter Name Description Type Size
protocol Integer value for the protocol type as defined by IANA (0 - 255). integer Minimum value: 0 Maximum value: 255
dst <name> Destination address or address group name.
Select the destination address or address group object from available options.
string Maximum length: 79

config port-range

Parameter Name Description Type Size
start-port Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535). integer Minimum value: 1 Maximum value: 65535
end-port Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535). integer Minimum value: 1 Maximum value: 65535

Configure custom Internet Services.

  config firewall internet-service-custom
      Description: Configure custom Internet Services.
      edit <name>
          set reputation {integer}
          set comment {var-string}
          config entry
              Description: Entries added to the Internet Service database and custom database.
              edit <id>
                  set protocol {integer}
                  config port-range
                      Description: Port ranges in the custom entry.
                      edit <id>
                          set start-port {integer}
                          set end-port {integer}
                      next
                  end
                  set dst <name1>, <name2>, ...
              next
          end
      next
  end

config firewall internet-service-custom

Parameter Name Description Type Size
reputation Reputation level of the custom Internet Service. integer Minimum value: 0 Maximum value: 4294967295
comment Comment. var-string Maximum length: 255

config entry

Parameter Name Description Type Size
protocol Integer value for the protocol type as defined by IANA (0 - 255). integer Minimum value: 0 Maximum value: 255
dst <name> Destination address or address group name.
Select the destination address or address group object from available options.
string Maximum length: 79

config port-range

Parameter Name Description Type Size
start-port Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535). integer Minimum value: 1 Maximum value: 65535
end-port Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535). integer Minimum value: 1 Maximum value: 65535