Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typos

...

The MikroTik HotSpot Gateway provides authentication for clients before access to public networks.

Warning

Hotspot (captive portal) - uses web-proxy and it is capable of using only the default routing table, at the moment. Making the PCC(per connection-classifier) not a valid method, due to the, multiple routing tables used.

HotSpot Gateway features:

  • different authentication methods of clients, using a local client database on the router, or remote RADIUS server;
  • users accounting in a local database on the router, or on remote RADIUS server;
  • a walled-garden system, access to some web pages without authorization;
  • login page modification, where you can put information about the company;
  • automatic and transparent change any IP address of a client to a valid address;
  • starting from v6.48 HotSpot can inform DHCP clients that they are behind a captive portal (RFC7710);

...

ParametersDescription
mac-address (read-only; MAC-address)HotSpot user MAC-address
address (read-only; IP address)HotSpot client original IP address
to-address (read-only; IP address)The new client address assigned by HotSpot might be the same as the original address
server (read-only; name)HotSpot server name client is connected to
bridge-port (read-only; name)"/interface bridge port" the client is connected to, value is unknown when HotSpot is not configured on the bridge
uptime (read-only; time)value shows how long the user is online (connected to the HotSpot)
idle-time (read-only; time)time user has been idle

idle-timeout (read-only; time) 

value of the client idle-timeout (unauthorized client)
keepalive-timeout (read-only; time)keepalive-timeout value of the unauthorized client
bytes-in (read-only; integer)amount of bytes received from an unauthorized client
packet-in (read-only; integer)amount of packets received from an unauthorized client
bytes-out (read-only; integer)amount of bytes sent to an unauthorized client
packet-out (read-only; integer) amount of packets sent to an unauthorized client

...

Code Block
languageros
/ip/hotspot/cookie


PropertyDescription
domain (string)The domain name (if split from the username)
expires-in (time)How long the cookie is valid
mac-address (MAC)Client's MAC-address
user (string)HotSpot username

...