Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

firewall service group

Use this command to configure firewall service groups.

To simplify policy creation, you can create groups of services and then add one policy to provide or block access for all the services in the group. A service group can contain predefined services and custom services in any combination. A service group cannot contain another service group.

note icon To edit a service group, enter all of the members of the service group, both those changing and those staying the same.
config firewall service group
    edit {name}
    # Configure service groups.
        set name {string}   Address group name. size[35]
        config member
            edit {name}
            # Service objects contained within the group.
                set name {string}   Address name. size[64] - datasource(s): firewall.service.custom.name,firewall.service.group.name
            next
        set proxy {enable | disable}   Enable/disable web proxy service group.
        set comment {string}   Comment. size[255]
        set color {integer}   Color of icon on the GUI. range[0-32]
    next
end

Additional information

The following section is for those options that require additional explanation.

firewall service group

Use this command to configure firewall service groups.

To simplify policy creation, you can create groups of services and then add one policy to provide or block access for all the services in the group. A service group can contain predefined services and custom services in any combination. A service group cannot contain another service group.

note icon To edit a service group, enter all of the members of the service group, both those changing and those staying the same.
config firewall service group
    edit {name}
    # Configure service groups.
        set name {string}   Address group name. size[35]
        config member
            edit {name}
            # Service objects contained within the group.
                set name {string}   Address name. size[64] - datasource(s): firewall.service.custom.name,firewall.service.group.name
            next
        set proxy {enable | disable}   Enable/disable web proxy service group.
        set comment {string}   Comment. size[255]
        set color {integer}   Color of icon on the GUI. range[0-32]
    next
end

Additional information

The following section is for those options that require additional explanation.