FortiNAC
FortiNAC is a s a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
Sx11
Staff
Staff
Description

 

This articles describes how to set up a Guest Registration portal with Sponsor approval in FortiNAC.

 

Scope

 

A standard setup would include following products: FortiSwitch, FortiGate and FortiNAC.

This article only discusses the flow and steps to configure the portal on FortiNAC.

 

It is expected the customer has already performed integration of FortiNAC and FortiGate using respective documentation:

https://docs.fortinet.com/document/fortinac/9.2.0/fortigate-endpoint-management-integration-guide

https://docs.fortinet.com/document/fortinac/9.2.0/fortiswitch-integration

 

It is also expected that FortiNAC is deployed and configured with the isolation subnet where Rogue devices will be initially moved and presented the Eth1 captive interface.

On FortiNAC, it is necessary DHCP scopes in order for FortiNAC to assign isolation IP to the connecting Rogue devices.

 

Other needed elements:

-DHCP helper address pointing to the ETH1 interface of FortiNAC.

-In the VLANs routed interface,  an L3 ACL is necessary in order to route everything to ETH1 of FortiNAC.

 

Solution

 

Operation flow is as follows:

 

1) Host connects to the network.

2) Switch sends MAC Notification trap to FortiNAC.

3) FortiNAC puts the port to Isolation and presents the portal to the user.

4) User completes form and sends request to FortiNAC.

5) Request is sent to Sponsor (who needs to approve).

6) After approval then FortiNACsend (User+password information) to the Guest.

7) User logins with credentials. (Post sent to FortiNAC).

8) FortiNAC changes port access from Isolation VLAN to Guest VLAN.

9) User has network access through FortiGate Policies.

 

Before proceeding to the Portal and guest templates, the following will be necessary:

 

- Guest VLAN configured on the FortiSwitch.

- Logical network created for the Guest VLAN in FortiNAC.

- Network access configuration/policy in FortiNAC matching the Guest_VLAN logical network.

- Guest VLAN logical network is enforced and assigned an access value in FortiGate model. configuration.

 

Step 1. Create role and Template for Guests.

 

Go to Policy and Objects -> Roles.

Select GuestSelfRegistration.

Edit in case it will be necessary groups to be added to this Role.

 

Sx11_0-1656065619257.png

 

Step 2. Configure the Template for Guests.

Go to User & Devices and select 'Role: GuestSelfRegistration' from previous step.

 

Sx11_1-1656065898729.png

 

Edit the Data fields.

 

Sx11_4-1656065945839.png

 

Step 3. Create user host profile named 'Gues'  to associate with the network access policy

Add the Who/what attribute to Role:GuestSelfRegistration

 

Sx11_6-1656066083018.png

 

Step 4. Create network access policy matching the previously created User/host profile and Network access configuration.

The network access configuration should specify the Guest_Vlan logical network.

 

Sx11_1-1656066217109.png

 

Step 5. Enable the self registration guest login:

 

Sx11_2-1656066330669.png

 

Step 6. Enter Sponsor email in case sponsor approval for Guests is enabled.

 

Sx11_3-1656066399484.png

 

Edit the 'Require sponsor approval' to 'Any User' and enable additional features if needed as below:

 

Sx11_6-1656066716285.png

 

Sx11_5-1656066673201.png

 

Step 7. Configure the email server and verify the Sponsors Email address in Users View by modifying the user entry and configuring the email address.

 

Sx11_7-1656066881928.png

 

In Settings -> System Communication, go to Email settings and configure the Email server as needed.

 

Sx11_8-1656067072582.png

 

Step 8. Put the Port where the host connects to the 'Force Registration' and 'Role Based Access' groups.

These are system groups which will provide enforcement to all ports that are marked as members.

 

- Force Registration - Enforces isolation when unregistered hosts connect.

- Role Based Access - Enforces Network access policies on the member ports and port groups.

 

In order to do this either include all the needed ports in a port group and then make this group a member of both system groups above.

For a simple test with one port, it is possible to go to the Network device in Inventory view, select the port and select Group Membership.

Enable membership for both system groups.

 

Other related KB articles:

 

https://community.fortinet.com/t5/FortiNAC/Technical-Tip-Troubleshooting-domain-resolution-in-the-ca...

https://community.fortinet.com/t5/FortiNAC/Technical-Tip-How-to-troubleshoot-FortiNAC-Guest-Captive-...

https://community.fortinet.com/t5/FortiNAC/Technical-Tip-Troubleshooting-Captive-Portal-page-not-bui...

https://community.fortinet.com/t5/FortiNAC/Technical-Note-Captive-Portal-page-not-building-or-slow-t...

https://community.fortinet.com/t5/FortiNAC/Troubleshooting-Tip-Portal-page-cannot-be-reached/ta-p/21...

Contributors