Fortinet white logo
Fortinet white logo

CLI Reference

config firewall internet-service-custom

config firewall internet-service-custom

Configure custom Internet Services.

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

config firewall internet-service-custom

Parameter

Description

Type

Size

Default

comment

Comment.

var-string

Maximum length: 255

name

Internet Service name.

string

Maximum length: 63

reputation

Reputation level of the custom Internet Service.

integer

Minimum value: 0 Maximum value: 4294967295

3

config entry

Parameter

Description

Type

Size

Default

dst <name>

Destination address or address group name.

Select the destination address or address group object from available options.

string

Maximum length: 79

id

Entry ID.

integer

Minimum value: 0 Maximum value: 255

0

protocol

Integer value for the protocol type as defined by IANA.

integer

Minimum value: 0 Maximum value: 255

0

config port-range

Parameter

Description

Type

Size

Default

end-port

Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).

integer

Minimum value: 0 Maximum value: 65535

65535

id

Custom entry port range ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-port

Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).

integer

Minimum value: 0 Maximum value: 65535

1

config firewall internet-service-custom

config firewall internet-service-custom

Configure custom Internet Services.

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

config firewall internet-service-custom

Parameter

Description

Type

Size

Default

comment

Comment.

var-string

Maximum length: 255

name

Internet Service name.

string

Maximum length: 63

reputation

Reputation level of the custom Internet Service.

integer

Minimum value: 0 Maximum value: 4294967295

3

config entry

Parameter

Description

Type

Size

Default

dst <name>

Destination address or address group name.

Select the destination address or address group object from available options.

string

Maximum length: 79

id

Entry ID.

integer

Minimum value: 0 Maximum value: 255

0

protocol

Integer value for the protocol type as defined by IANA.

integer

Minimum value: 0 Maximum value: 255

0

config port-range

Parameter

Description

Type

Size

Default

end-port

Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).

integer

Minimum value: 0 Maximum value: 65535

65535

id

Custom entry port range ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-port

Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).

integer

Minimum value: 0 Maximum value: 65535

1