The Schwarrisons

Set Up Users and Groups on FortiGate Firewalls

For the secure functioning of a FortiGate Firewall, it is recommended to only permit access to the functions of the FortiGate that a user needs to have access to
Set Up Users and Groups on FortiGate Firewalls

For the secure functioning of a FortiGate Firewall, it is recommended to only permit access to the functions of the FortiGate that a user needs to have access to. Some of the functions that utilise these groups with a FortiGate are:

  • Administration of the FortiGate (Operations and Engineering)
  • Troubleshooting of the FortiGate (Service Desk)
  • SSL-VPN
  • Explicit Web Proxy
  • IP Policies.

Authentication Methods On FortiGate

Before setting up authentication, you will need to decide how you want your users to be able to authenticate. FortiGate’s support for authentication comprises:

Radius is an industry-standard, and there are multiple products available:

This is not a definitive list, and none of them may be suitable for your environment, but industry standards are

Most larger enterprises will have some style of Single Sign On (SSO), as this allows their users to use their current credentials across a large suite of products. This can be utilised by Fortigate to allow the enterprise to also enforce password lockout policy and password strength. It also allows them to log security details

Due to the simplicity of setup and lack of infrastructure, most smaller sites will utilise local accounts. The drawback is that the login details may differ from the user’s standard account, and there is no central logging.

Creating Groups On FortiGate

Standard security is that you create a group to for the function that you wish to protect, assign your users to the new group and then use the group that you have created to secure the required role /policy

To Administer groups from the left-hand navigation menu, select Users & Authentication -> User Groups. I prefer to create my groups first and then add my users to the group. You can also create the user first and then add them to the group, it’s a personal preference. If you are utilising Radius, you need to create a local group and then link it through the UI to the group returned from your authentication/ accounting Field.

The next step is to give the group a name, this is a free text field, so be descriptive, so that it will help others know its purpose.

The type is one of the following:

  • Firewall – Local Authentication
  • FSSO – FortiAuthenticator
  • Radius

As we have not yet created any users leave the Members field empty. As we are not using Radius in this example leave the remote group blank. Click on OK to save the group

Creating Users On Fortigates

In this example, we will be utilising local authentication, as it is simpler and not everyone has access to either FSSO or RSSO.

Access to the User/Groups Creation Wizard is located at User & Authentication -> User Definition on the left-hand navigation bar

As we are creating a local user, select the user type as a local user.

You will next be prompted to enter the username and password for the account that you wish to create.

Once you have done this click on the Next Button.

The next screen is where you would configure Two-factor Authentication (2FA). This is outside the scope of this example.

So just click Next.

We are now at the Extra Info page. This page allows you to create the user enabled/disabled. It will also allow you to specify User Groups that this user is associated with.

To assign User Groups, enable the option if disabled and then click on the + symbol to add User Groups.

This will open a sidebar on the right-hand side of the screen, from this you can select one or more User Groups. If you need to remove a User Group, simply click on it a second time. Once completed selecting groups, click close to return to the wizard.

You should now see the User Group field showing the users that you have selected. Click submit to have the FortiGate create the user.

You should now see that the user you have created is populated into the local users.

You should now see that the user you have created is populated into the local users.

Wrapping up

Setting up your user account and groups may be seen as one of the basic portions of administering a FortiGate. However, if you take the time and effort now to set up your users and groups, the payback will be reciprocated by your fellow FortiGate admins when they have to enable a new function of the FortiGate or permit a user to have access to a network segment. SSL-VPN relies highly on groups etc to allow users to only access the resources required for the end-user to perform their job functions.

About the author
Stephen Schwetz

The Schwarrisons

Herping the derp!!

The Schwarrisons

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to The Schwarrisons.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.