FortiLogger DHCP client
Install the FortiloggerClient service that forwards the IP/MAC mappings on your Windows DHCP server to FortiLogger.
FortiLogger DHCP Client
The DHCP Client service sends the IP-to-MAC address mappings required by Law 5651 from your Windows DHCP server to FortiLogger. At the end of each day, these logs are timestamped and backed up together with the rest of your logs. If your FortiGate handles DHCP, you don’t need this service.
Note
Your DHCP server must be able to reach the FortiLogger server over 514/UDP to use this service.
1 - Download the FortiLogger Client Agent
Download the FortiloggerClientWorker file from File.fortilogger.com.
2 - Install the FortiLogger Client Agent
- The download is a compressed archive. Extract it and copy the contents to C:\FortiloggerClient on your DHCP server. The path matters: when you open C:\FortiloggerClient, you should see the service files directly.
- Open appsettings.json in the FortiloggerClient folder with Notepad and set the following values:
- DeviceId: Your FortiGate serial number, in double quotes (“”).
- Path: The folder where the DHCP server writes its logs; the FortiloggerClient service collects them from here.
C:\\Windows\\System32\\Dhcp\\is the default. Unless you changed it when you installed Windows DHCP, leave the default. - ReadTimerMilisecond: Leave the default.
- DHCPPools: To collect logs for one specific pool in your DHCP scope, enter it here. Write the pool in CIDR form (for example
10.10.11.0/24); any other form makes the service fail. To collect logs for all pools, leave the default (0.0.0.0/0). - LogSendType: Leave the default.
- DestinationIpAddress: The IP address of the server where FortiLogger is installed.
- UdpPort: Leave the default.
- TlsPort: Leave the default.
- SourceIpAddress: The IP address of your DHCP server. 127.0.0.1 won’t work.
- SourceUdpPort: Leave the default.
- TlsServerName: Leave the default.
- Save appsettings.json (Ctrl+S) and close it.
- Run AA-windowsdesktop-runtime-5.0.6-win-x64.exe from the FortiloggerClient folder as administrator. It installs the .NET 5.0.6 runtime.
- Run AA-fortiloggerClientService[CREATE].bat from the FortiloggerClient folder as administrator. This batch file creates the FortiloggerClient service.
- Finally, press Windows+R, type services.msc and press Enter. In Services, right-click “FortiloggerClientService” and start it.
3 - View DHCP logs
Your DHCP logs are now available. In the FortiLogger interface, go to Logs > View Logs, open the Log Type menu on the left and select Windows Dhcp to see them.
If no logs arrive
The service writes its own log files to the C:\FortiloggerClient\log folder. Check there first.
Was this page helpful?
Thanks for your feedback!