FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
Pedro_FTNT
Staff
Staff
Article Id 279495
Description This article describes how to configure FortiWeb with a Remote RADIUS Server and test the connection, to check it, it is possible to use PCAP and other FortiAuthenticator tools.
Scope FortiWeb, FortiAuthenticator.
Solution
  • In this case, FortiAuthenticator will be used as a RADIUS Server.
  • Windows Server 2016 as LDAP.
  • FortiAuthentication connection to LDAP Windows Server 2016 was already completed.
  • A new Active Directory user was created, named: 'webuser'.
  • Example to configure Remote LDAP Server in FortiAuthenticator.

 

15.png

 

  • FortiAuthenticator Configurations. After configuring the Remote LDAP Server In FortiAuthenticator.

 

  1. Connect FortiAuthenticator to FortiWeb.
  • Go to Authentication -> RADIUS Service -> Client and select 'Create New'.

 

16.png

 

  • Complete with FortiWeb Information: Name, IP, Secret.

 

17.png

 

18.png

 

  1.  Import Remote LDAP user.
  •  Go to User Management -> Remote Users -> Import.

 

19.png

 

  • Select the Remote LDAP Server configured in FortiAuthenticator.
  • Action: Import users / Import.
  •  Select users to Import to FortiAuthenticator and FortiWeb. In this example, the user to test is: 'webuser'.

 

20.png

 

21.png

 

  1. Create User Group.
  • Go to User Management -> User Group and select 'Create New'.
  • Set Group Name.
  • Select Type: Remote LDAP.
  • Select Option: Set a list of imported remote LDAP users.
  • Select the Remote LDAP Server.
  • Select 'webuser' from the user list.
  •  Save,

 

22.png

 

23.png

 

  1. Create Realm.
  • Go to Authentication -> User Management -> Realms.
  • Create New.
  • Set Real Name.
  • Set User Source / Select Remote LDAP created.
  • Save.

 

41.png

 

  1.  Create RADIUS Policy.
  • Go to Authentication -> RADIUS Service -> Policies and select 'Create New'.

 

 RADIUS clients:

  • Set Policy name.
  • Select FortiWeb Client, configure, move to the right, and select 'Next'.

 

24.png

 

  • RADIUS attribute criteria, keep default values and select 'Next'.

 

25.png

 

  • Authentication type, keep default values and select 'Next'.

 

26.png

 

Identity sources:

  • Select Realm created to Active Directory LDAP.
  • Select Filter.

 

27.png

 

  • Enable Filter and Select Fortiweb User Group created and select 'Next'.

 

28.png

 

  • Authentication factors, keep default values and select 'Next'.

 

29.png

 

  • Radius response, keep default values, select 'Save' and exit

 

30.png

 

FortiWeb Configurations.

 

  1. To configure the Remote RADIUS Server
  • Go to User -> Remote Server ->  RADIUS Server and select 'Create New'.
  • Complete with RADIUS information: Remote RADIUS IP, RADIUS port, Server Secret.
  • By Default select: Authentication Scheme: DEFAULT.

 

31.png

 

  1.  it is also possible to configure using FortiWeb CLI.

 

config user radius-user
    edit "RADIUS" <----- Any RADIUS name.
        set server 172.16.16.9 <----- Remote the RADIUS IP.
        set secret <RADIUS_password> <----- Same password used in FortiAuthenticator configuration.
    next
end

 

  1. To do a PCAP Capture.
  • Go to Network -> Packet Capture and select 'Create New'.

 

7.png

 

 

  •  Interface: Any
  •  Filter: host 172.16.16.9 <----- RADIUS Server.

 

37.png

 

  •  Select: 'Not Running' to start capture.

 

38.png

 

  1.  While capture is running:
  • Go to User -> Remote Server and select 'RADIUS Server'.
  • Select Test RADIUS.
  • Configure 'username' and 'user password' to test the connection to RADIUS.
  • Select: 'OK'.

 

32.png

 

  1.  Stop PCAP Capture.
  • Go to Network -> Packet Capture.
  • Select: Stop Capturing.
  • Download the PCAP Capture.

 

39.png

 

40.png

 

  1.  Use Wireshark to filter user connection and to check what is happening with the Test User connection. In this example the connection was 'successfully'. So in Wireshark,the RADIUS log is visible:

 

35.png

 

36.png

 

  1. To see logs in the FortiAuthenticator Radius Server.
  • Open: http://<FAC_IP/debug/
  •  Select: RADIUS / Authentication.
  • User Test Authentication Negotiation is visible.

 

34.png

 

To know about FortiWeb Radius Configuration:

user radius-user

 

To know about FortiAuthenticator Radius Configuration:

RADIUS service

 

FortiAuthenticator Debug:

Troubleshooting Tip: How to debug FortiAuthenticator Services

Debug logs

Contributors