Fortinet white logo
Fortinet white logo

CLI Reference

config firewall internet-service-addition

config firewall internet-service-addition

Configure Internet Services Addition.

config firewall internet-service-addition
    Description: Configure Internet Services Addition.
    edit <id>
        set comment {var-string}
        config entry
            Description: Entries added to the Internet Service addition database.
            edit <id>
                set addr-mode [ipv4|ipv6]
                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
            next
        end
    next
end

config firewall internet-service-addition

Parameter

Description

Type

Size

Default

id

Internet Service ID in the Internet Service database.

integer

Minimum value: 0 Maximum value: 4294967295

0

comment

Comment.

var-string

Maximum length: 255

config entry

Parameter

Description

Type

Size

Default

id

Entry ID.

integer

Minimum value: 0 Maximum value: 255

0

addr-mode

Address mode (IPv4 or IPv6).

option

-

ipv4

Option

Description

ipv4

IPv4 mode.

ipv6

IPv6 mode.

protocol

Integer value for the protocol type as defined by IANA (only TCP is supported).

integer

Minimum value: 6 Maximum value: 6

6

config port-range

Parameter

Description

Type

Size

Default

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

end-port

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

integer

Minimum value: 0 Maximum value: 65535

65535

config firewall internet-service-addition

config firewall internet-service-addition

Configure Internet Services Addition.

config firewall internet-service-addition
    Description: Configure Internet Services Addition.
    edit <id>
        set comment {var-string}
        config entry
            Description: Entries added to the Internet Service addition database.
            edit <id>
                set addr-mode [ipv4|ipv6]
                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
            next
        end
    next
end

config firewall internet-service-addition

Parameter

Description

Type

Size

Default

id

Internet Service ID in the Internet Service database.

integer

Minimum value: 0 Maximum value: 4294967295

0

comment

Comment.

var-string

Maximum length: 255

config entry

Parameter

Description

Type

Size

Default

id

Entry ID.

integer

Minimum value: 0 Maximum value: 255

0

addr-mode

Address mode (IPv4 or IPv6).

option

-

ipv4

Option

Description

ipv4

IPv4 mode.

ipv6

IPv6 mode.

protocol

Integer value for the protocol type as defined by IANA (only TCP is supported).

integer

Minimum value: 6 Maximum value: 6

6

config port-range

Parameter

Description

Type

Size

Default

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

end-port

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

integer

Minimum value: 0 Maximum value: 65535

65535