Fortinet white logo
Fortinet white logo

Administration Guide

Network access policies

Network access policies

A Network Access Policy consists of one User/Host Profile and one Network Access Configuration. The User/Host Profile is used to determine the users and hosts to which this policy might apply. The Network Access Configuration assigns the treatment those users and hosts receive when they connect to the network.

Note

Network Access Policies are used for registered hosts only.

The Network Access Configuration specifies the VLAN, CLI Configuration or VPN Group Policy that apply to a host that requires network access. If the user or host matches the selected User/Host Profile they are given the network access defined in the configuration.

Network Access Policies follow a pattern, such as, when anyone in group X of people connects to a device in group Y of devices only put those users on VLAN 10. Devices that are end-stations, such as a gaming device, a printer or a medical device can be treated as if they were people. For example, if a gaming device that matches the specified User/Host Profile is connected to a switch that also matches the User/Host Profile it can be moved to a special VLAN for gaming devices defined in the Network Access Configuration.

Network Access Policies are very flexible and can be used in more complex situations. For example, Network Access Policies can be created for medical devices that are end stations. When a medical device is connected to any port in the hospital, FortiNAC can use a Network Access Policy that contains a CLI configuration to reduce the rate of data transfer on those ports.

Network Access Policies can also be used to pass a group policy to a user connecting through a VPN concentrator. When a user connects through a VPN you do not want to disconnect the user in order to move the user from one VLAN to another. However, when the user is authenticated and the authentication is returned to the VPN concentrator, FortiNAC can also send a group policy for that user. The policy can then restrict the user's network access to certain areas. Group policies are configured on the VPN concentrator. When the name of the Group policy is entered into the Access Value/VLAN field on the Network Access Configuration window, that VPN group policy is then enforced for the connecting user.

Policies are assigned based on matching data when a host requires network access. The host/user and the connection location are compared to each Network Access Policy starting with the first policy in the list. When a policy is found where the host and user data and the connection location match the selected User/Host Profile, that policy is assigned. Policy assignments are not permanent. Hosts are re-evaluated frequently, such as when a switch is polled or the Persistent Agent contacts the server. When host and user data are re-evaluated a different Network Access Policy may be selected.

Note

There may be more than one Network Access Policy that is a match for this host/user, however, the first match found is the one that is used.

Note

If you create a User/Host Profile with fields Where (Location) set to Any, Who/What by Group set to Any, Who/What by Attribute left blank and When set to always, it matches ALL users and hosts. This is essentially a Catch All profile. If this User/Host Profile is used in a policy, all policies below that policy are ignored when assigning a policy to a user or a host. To highlight this, policies below the policy with the catch all profile are grayed out and have a line through the data.

The best way to use a Catch All profile is to create a general policy with that profile and place it last in the list of policies.

Network access policies

Network access policies

A Network Access Policy consists of one User/Host Profile and one Network Access Configuration. The User/Host Profile is used to determine the users and hosts to which this policy might apply. The Network Access Configuration assigns the treatment those users and hosts receive when they connect to the network.

Note

Network Access Policies are used for registered hosts only.

The Network Access Configuration specifies the VLAN, CLI Configuration or VPN Group Policy that apply to a host that requires network access. If the user or host matches the selected User/Host Profile they are given the network access defined in the configuration.

Network Access Policies follow a pattern, such as, when anyone in group X of people connects to a device in group Y of devices only put those users on VLAN 10. Devices that are end-stations, such as a gaming device, a printer or a medical device can be treated as if they were people. For example, if a gaming device that matches the specified User/Host Profile is connected to a switch that also matches the User/Host Profile it can be moved to a special VLAN for gaming devices defined in the Network Access Configuration.

Network Access Policies are very flexible and can be used in more complex situations. For example, Network Access Policies can be created for medical devices that are end stations. When a medical device is connected to any port in the hospital, FortiNAC can use a Network Access Policy that contains a CLI configuration to reduce the rate of data transfer on those ports.

Network Access Policies can also be used to pass a group policy to a user connecting through a VPN concentrator. When a user connects through a VPN you do not want to disconnect the user in order to move the user from one VLAN to another. However, when the user is authenticated and the authentication is returned to the VPN concentrator, FortiNAC can also send a group policy for that user. The policy can then restrict the user's network access to certain areas. Group policies are configured on the VPN concentrator. When the name of the Group policy is entered into the Access Value/VLAN field on the Network Access Configuration window, that VPN group policy is then enforced for the connecting user.

Policies are assigned based on matching data when a host requires network access. The host/user and the connection location are compared to each Network Access Policy starting with the first policy in the list. When a policy is found where the host and user data and the connection location match the selected User/Host Profile, that policy is assigned. Policy assignments are not permanent. Hosts are re-evaluated frequently, such as when a switch is polled or the Persistent Agent contacts the server. When host and user data are re-evaluated a different Network Access Policy may be selected.

Note

There may be more than one Network Access Policy that is a match for this host/user, however, the first match found is the one that is used.

Note

If you create a User/Host Profile with fields Where (Location) set to Any, Who/What by Group set to Any, Who/What by Attribute left blank and When set to always, it matches ALL users and hosts. This is essentially a Catch All profile. If this User/Host Profile is used in a policy, all policies below that policy are ignored when assigning a policy to a user or a host. To highlight this, policies below the policy with the catch all profile are grayed out and have a line through the data.

The best way to use a Catch All profile is to create a general policy with that profile and place it last in the list of policies.