Network:
Mikrotik Hotspot server (RB951-2n) → TP-Link router → wireless Client
I’ve been trying to play with the “log in by” options in HotSpot Server Profile and hope the cookie option will allow the server to identify users behind the same NAT. However so far the cookie shows only the MAC of the router between HotSpot user and the HotSpot server and 2nd, 3rd users connected to same router are able to access the Internet without authentication. Any solution?
from reading the hotspot manual, this should be possible?
HTTP cookie - after each successful login, a cookie is sent to the web browser and the same cookie is added to active HTTP cookie list. Next time the same user will try to log in, web browser will send the saved HTTP cookie. This cookie will be compared with the one stored on the HotSpot gateway and only if source MAC address and randomly generated ID matches the ones stored on the gateway, user will be automatically logged in using the login information (username and password pair) was used when the cookie was first generated.