Manual:IP/Hotspot/Profile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 58: | Line 58: | ||
{{Mr-arg-table | {{Mr-arg-table | ||
|arg=login-by | |arg=login-by | ||
|type=cookie{{!}}http-chap{{!}}http-pap{{!}}https{{!}}mac{{!}}trial | |type=cookie{{!}}http-chap{{!}}http-pap{{!}}https{{!}}mac{{!}}trial{{!}}mac-cookie | ||
|default=http-chap, cookie | |default=http-chap, cookie | ||
|desc=Used HotSpot authentication method | |desc=Used HotSpot authentication method | ||
<ul> | <ul> | ||
<li><b>mac-cookie</b> - enables login by [[M:Hotspot_Introduction#MAC_Cookie | mac cookie]] method | |||
<li><b>cookie</b> - may only be used with other HTTP authentication method. HTTP cookie is generated, when user authenticates in HotSpot for the first time. User is not asked for the login/password and authenticated automatically, until ''cookie-lifetime'' is active | <li><b>cookie</b> - may only be used with other HTTP authentication method. HTTP cookie is generated, when user authenticates in HotSpot for the first time. User is not asked for the login/password and authenticated automatically, until ''cookie-lifetime'' is active | ||
<li><b>http-chap</b> - login/password is required for the user to authenticate in HotSpot. CHAP challenge-response method with MD5 hashing algorithm is used for protecting passwords. | <li><b>http-chap</b> - login/password is required for the user to authenticate in HotSpot. CHAP challenge-response method with MD5 hashing algorithm is used for protecting passwords. |
Revision as of 13:09, 3 May 2013
Applies to RouterOS: v3, v4, v5+
Summary
Sub-menu: /ip hotspot profile
This submenu contains list of Hotspot server profiles. There may be various different HotSpot systems, defined as HotSpot Server Profiles, on the same gateway machine. One or more interfaces can be grouped into one server profile. There are very few settings for the servers on particular interfaces - most of the configuration is set in the server profiles. For example, it is possible to make completely different set of servlet pages for each server profile, and define different RADIUS servers for authentication.
Properties
Property | Description |
---|---|
dns-name (string; Default: "") | DNS name of the HotSpot server (it appears as the location of the login page). This name will automatically be added as a static DNS entry in the DNS cache. |
hotspot-address (IP; Default: 0.0.0.0) | IP address of HotSpot service. |
html-directory (string; Default: hotspot) | Directory name in which HotSpot HTML pages are stored (by default hotspot directory). It is possible to specify different directory with modified HTML pages. To change HotSpot login page, connect to the router with FTP and download hotspot directory contents. Read more >> |
http-cookie-lifetime (time; Default: 3d) | HTTP cookie validity time, the option is related to cookie HotSpot login method |
http-proxy (IP:Port; Default: 0.0.0.0:0) | Address and port of the proxy server for HotSpot service, when default value is used all request are resolved by the local /ip proxy |
login-by (cookie|http-chap|http-pap|https|mac|trial|mac-cookie; Default: http-chap, cookie) | Used HotSpot authentication method
|
mac-auth-password (string; Default: ) | Used together with MAC authentication, field used to specify password for the users to be authenticated by their MAC addresses. The following option is required, when specific RADIUS server rejects authentication for the clients with blank password |
name (string; Default: ) | Descriptive name of the profile |
nas-port-type (string; Default: wireless-802.11) | NAS-Port-Type value to be sent to RADIUS server, NAS-Port-Type values are described in the RADIUS RFC 2865. This optional value attribute indicates the type of the physical port of the HotSpot server. |
radius-accounting (yes | no; Default: yes) | Send RADIUS server accounting information for each user, when yes is used |
radius-default-domain (string; Default: ) | Default domain to use for RADIUS requests. Allows to use separate RADIUS server per /ip hotspot profile |
radius-interim-update (time | received; Default: received) | How often to send accounting updates . When received is set, interim-time is used from RADIUS server. 0s is the same as received. |
radius-location-name (string; Default: ) | RADIUS-Location-Id to be sent to RADIUS server. Used to identify location of the HotSpot server during the communication with RADIUS server. Value is optional and used together with RADIUS server. |
radius-mac-format ("XX XX XX XX XX XX"|XX:XX:XX:XX:XX:XX|XXXXXX-XXXXXX|XXXXXXXXXXXX|XX-XX-XX-XX-XX-XX|XXXX:XXXX:XXXX|XXXXXX:XXXXXX; Default: XX:XX:XX:XX:XX:XX) | |
rate-limit (string; Default: "") | Rate limitation in form of rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time]]]] [priority] [rx-rate-min[/tx-rate-min]] from the point of view of the router (so "rx" is client upload, and "tx" is client download). All rates should be numbers with optional 'k' (1,000s) or 'M' (1,000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both rx-burst-time and tx-burst-time are not specified, 1s is used as default. rx-rate-min and tx-rate min are the values of limit-at properties |
smtp-server (IP; Default: 0.0.0.0) | SMTP server address to be used to redirect HotSpot users SMTP requests. |
split-user-domain (yes | no; Default: no) | Split username from domain name when the username is given in "user@domain" or in "domain\user" format from RADIUS server |
ssl-certificate (string | none; Default: none) | Name of the SSL certificate on the router to to use only for HTTPS authentication. |
trial-uptime (time/time; Default: 30m/1d) | Used only with trial authentication method. First time value specifies, how long trial user identified by MAC address can use access to public networks without HotSpot authentication. Second time value specifies amount of time, that has to pass until user is allowed to use trial again. |
trial-user-profile (string; Default: default) | Specifies hotspot user profile for trial users. |
use-radius (yes | no; Default: no) | Use RADIUS to authenticate HotSpot users. |
[ Top | Back to Content ]