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 master-service-id {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
                config dst
                    Description: Destination address or address group name.
                    edit <name>
                    next
                end
            next
        end
        config disable-entry
            Description: Disable entries in the Internet Service database.
            edit <id>
                set protocol {integer}
                set port {integer}
                config ip-range
                    Description: IP ranges in the disable entry.
                    edit <id>
                        set start-ip {ipv4-address-any}
                        set end-ip {ipv4-address-any}
                    next
                end
            next
        end
    next
end

config firewall internet-service-custom

Parameter

Description

Type

Size

master-service-id

Internet Service ID in the Internet Service database.

integer

Minimum value: 0 Maximum value: 4294967295

comment

Comment.

var-string

Maximum length: 255

config entry

Parameter

Description

Type

Size

protocol

Integer value for the protocol type as defined by IANA .

integer

Minimum value: 0 Maximum value: 255

config port-range

Parameter

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

config disable-entry

Parameter

Description

Type

Size

protocol

Integer value for the protocol type as defined by IANA .

integer

Minimum value: 0 Maximum value: 255

port

Integer value for the TCP/IP port .

integer

Minimum value: 0 Maximum value: 65535

config ip-range

Parameter

Description

Type

Size

start-ip

Start IP address.

ipv4-address-any

Not Specified

end-ip

End IP address.

ipv4-address-any

Not Specified

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 master-service-id {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
                config dst
                    Description: Destination address or address group name.
                    edit <name>
                    next
                end
            next
        end
        config disable-entry
            Description: Disable entries in the Internet Service database.
            edit <id>
                set protocol {integer}
                set port {integer}
                config ip-range
                    Description: IP ranges in the disable entry.
                    edit <id>
                        set start-ip {ipv4-address-any}
                        set end-ip {ipv4-address-any}
                    next
                end
            next
        end
    next
end

config firewall internet-service-custom

Parameter

Description

Type

Size

master-service-id

Internet Service ID in the Internet Service database.

integer

Minimum value: 0 Maximum value: 4294967295

comment

Comment.

var-string

Maximum length: 255

config entry

Parameter

Description

Type

Size

protocol

Integer value for the protocol type as defined by IANA .

integer

Minimum value: 0 Maximum value: 255

config port-range

Parameter

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

config disable-entry

Parameter

Description

Type

Size

protocol

Integer value for the protocol type as defined by IANA .

integer

Minimum value: 0 Maximum value: 255

port

Integer value for the TCP/IP port .

integer

Minimum value: 0 Maximum value: 65535

config ip-range

Parameter

Description

Type

Size

start-ip

Start IP address.

ipv4-address-any

Not Specified

end-ip

End IP address.

ipv4-address-any

Not Specified