Can i block or drop hotspot clients if not login

Hi, i want drop hotspot clients from host list if not login to 5 minute. Cause they are use my network for file transfer without login. How can i block this event.

Thanks for help !

use firewall to block such connections

What would such a firewall rule look like?

Am I understanding the issue correctly, this is about clients connecting to the hotspot interface
but not logging in, yet being able to talk to other non-logged-in hotspot users
directly on that interface/bridge?

would (assuming the hotspot is on interface=ether2 with IP range 192.168.100.x-y and the web on 192.168.100.1
work?

/ip firewall filter
add in-interface=ether2 address=!192.168.100.1 action=drop

ie: on that interface, drop all packets that do not involve the hotspot login webpage’s IP address?

What about non-IP traffic (ethernet)?


Is there a way to record (and remember/blacklist) macaddresses of such clients (like in a macaddress-list ?) That would be useful

How they use your network traffic when you have hotspot server?
Is it possible? unless you opened ports 139 and 445