OPNsense Forum

English Forums => Development and Code Review => Topic started by: jlopez83 on May 22, 2019, 05:10:17 pm

Title: Send dhcp client info to server or csv
Post by: jlopez83 on May 22, 2019, 05:10:17 pm
I have an OPNSense used as a router, but in the LAN interface, I have an Access Point.
What I like to do is: when some device is connected to the Wi-Fi, when DHCP is assigned the IP address, save the mac address in some database or csv file.

In other words, when you go to check the status of DHCP, you can see the IP and mac address of the devices connected to the network, I am finding the way to auto send or save that info, to have a history of who has connected and when on the network.

My ideal scenario is sent the mac address and time stamp of each connection to MySQL database