I would like to log to disk when a l2tp user is connecting or disconnecting to the Mikrotik VPN server
Currently, with the default settings, I can see something like this:
Code: Select all
12:26:42 l2tp,ppp,info <l2tp-user>: connected
12:26:46 l2tp,ppp,info <l2tp-user>: disconnected
Also I added the following action:
Code: Select all
/system logging action
add disk-file-name=vpn.log disk-lines-per-file=10000 name=VPN target=disk
If I disable the rule for "info", this is not logged
If I add a log prefix to the firewall rule which is accepting the l2tp connections, a lot of useless lines are logged
I did not found how to accomplish this.
Any idea?
Thanks in advance.
Regards,
Damián