

User Profile
Properties
PROPERTY | DESCRIPTION |
---|---|
add-mac-cookie (yes|no; Default: yes) | Allows to add mac cookie for users. Read more>> |
address-list (string; Default: ) | Name of the address list in which users IP address will be added. Useful to mark traffic per user groups for queue tree configurations. |
address-pool (string |none; Default: none) | IP pool name from which the user will get IP. When user has improper network settings configuration on the computer, HotSpot server makes translation and assigns correct IP address from the pool instead of incorrect one |
advertise (yes | no; Default: no) | Enable forced advertisement popups. After certain interval specific web-page is being displayed for HotSpot users. Advertisement page might be blocked by browsers popup blockers. |
advertise-interval (time[,time[,..]]; Default: 30m,10m) | Set of intervals between advertisement popups. After the list is done, the last value is used for all further advertisements, 10 minutes |
advertise-timeout (time | immediately | never; Default: 1m) | How long advertisement is shown, before blocking network access for HotSpot client. Connection to Internet is not allowed, when advertisement is not shown. |
advertise-url (string[,string[,..]]; Default: ) | List of URLs that is show for advertisement popups. After the last URL is used, list starts from the begining. |
idle-timeout (time | none; Default: none) – thời gian chờ nhàn rỗi | Thời gian không hoạt động tối đa cho các ứng dụng HotSpot được ủy quyền. Bộ hẹn giờ đang được đếm, khi không có lưu lượng truy cập nào đến từ máy khách đó và đi qua bộ định tuyến, chẳng hạn như máy tính bị tắt. Người dùng đã đăng xuất, bị loại khỏi danh sách máy chủ lưu trữ, địa chỉ mà người dùng sử dụng được giải phóng, khi hết thời gian chờ |
incoming-filter (string; Default: ) | Name of the firewall chain applied to incoming packets from the users of this profile, jump rule is required from built-in chain (input, forward, output) to chain=hotspot |
incoming-packet-mark (string; Default: ) | Packet mark put on incoming packets from every user of this profile |
keepalive-timeout (time | none; Default: ) | Thời gian chờ liên tục cho các khách hàng HotSpot được ủy quyền. Được sử dụng để phát hiện rằng máy tính của khách hàng còn sống và có thể truy cập được. Người dùng đã đăng xuất, khi đạt đến giá trị thời gian chờ |
mac-cookie-timeout (time; Default: 3d) | Chọn thời gian chờ mac-cookie từ lần đăng nhập hoặc đăng xuất gần đây nhất. Read more>> |
name (string; Default: ) | Descriptive name of the profile |
on-login (string; Default: “”) | Script name to be executed, when user logs in to the HotSpot from the particular profile. It is possible to get username from internal user and interface variable. For example, :log info “User $user logged in!” . If hotspot is set on bridge interface, then interface variable will show bridge as actual interface unless use-ip-firewall’ is set in bridge settings.
|
on-logout (string; Default: “”) | Script name to be executed, when user logs out from the HotSpot.It is possible to get username from internal user and interface variable. For example, :log info “User $user logged in!” . If hotspot is set on bridge interface, then interface variable will show bridge as actual interface unless use-ip-firewall is set in bridge settings.
Starting with v6.34rc11 some additional variables are available:
|
open-status-page (always | http-login; Default: always) | Option to show status page for user authenticated with mac login method. For example to show advertisement on status page (alogin.html)
|
outgoing-filter (string; Default: ) | Name of the firewall chain applied to outgoing packets from the users of this profile, jump rule is required from built-in chain (input, forward, output) to chain=hotspot |
outgoing-packet-mark (string; Default: ) | Packet mark put on outgoing packets from every user of this profile |
rate-limit (string; Default: “”) | Simple dynamic queue is created for user, once it logs in to the HotSpot. Rate-limitation is configured in the following form [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]]]]. For example, to set 1M download, 512k upload for the client, rate-limit=512k/1M |
session-timeout (time; Default: 0s) – thời gian chờ của phiên | Thời gian phiên được phép cho khách hàng. Sau thời gian này, người dùng đăng xuất vô điều kiện |
shared-users (integer; Default: 1) | Allowed number of simultaneously logged in users with the same HotSpot username |
status-autorefresh (time | none; Default: none) – trạng thái tự động làm mới | Khoảng thời gian tự động làm mới trang trạng thái HotSpot |
transparent-proxy (yes |; Default: yes) | Use transparent HTTP proxy for the authorized users of this profile |