Network log on a remote server

Hello everyone,

I've just installed for the first time LEDE on my wifi router and everything works like a charm. However, I would like to use my wifi router as a hotspot, and as I live in France, I have to respect a law that impose me to keep network logs for one year. Those logs shall include :

  • The IP and MAC address of each user
  • The websites they are going to
  • The date and time of each connexion
    I've tried to use ulog following this tutorial : https://wiki.openwrt.org/oldwiki/netfilter.ulog.mysql but I can't do the last step. And without it it doesn't seem to work.

Thank you very much in advance !