I have set up IKEv2 server running on my Mikrotik 6.40.1 with authentication done by EAP passthrough to a RADIUS server which works fine except that no RADIUS Accounting records are ever sent from the Mikrotik to the RADIUS server; I only see the Auth requests.
I know accounting works because it works fine for my Wireless clients.
Does anyone have any suggestions? Has anyone ever got RADIUS accounting with IKEv2 EAP passthrough working on their Mikrotik?
As requested. though I don’t think there is anything special about my config. The IKEv2 accounting thing is still not fixed as well after all this time. Here is it.
This thread is about one year old. Still not implemented?
I would really really love to see this implemented.
I’m running 6.42.3 and no accounting records are issued by Mikrotik.
Does anyone know what the value passed in NAS-Port-Id means for IPSEC sessions? The documentation doesn’t (yet?) cover IPSEC:
NAS-Port-Id - async PPP - serial port name; PPPoE - ethernet interface name on which server is running; HotSpot - name of the physical HotSpot interface (if bridged, the bridge port name is showed here); not present for ISDN, PPTP and L2TP
Do you have any specific needs or ideas what might be a good value to pass in NAS-Port-Id? Currently a hex value of the remote peer’s ID is written there and as far as we can see, RFC is not very specific what should be written there. Perhaps, the specific Identity ID could be written there?
There are many tutorials on the Internet about how to set up EAP RADIUS server. You can also take a look at this wiki article which describes how to set up Freeradius EAP authentication for wireless, that has pretty much the same configuration for IKEv2.
One other question I have - although I receive the start and stop accounting records, I never receive any interim records - is this by design or a bug?