{"id":729,"date":"2026-09-16T17:53:38","date_gmt":"2026-09-16T14:53:38","guid":{"rendered":"https:\/\/imaxis.ru\/?p=729"},"modified":"2026-09-16T17:53:38","modified_gmt":"2026-09-16T14:53:38","slug":"nastroyka-hotspot-s-captive-portal-na-mikrotik-gostevoy-wi-fi-s-avtorizatsiey","status":"publish","type":"post","link":"https:\/\/imaxis.ru\/?p=729","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Hotspot \u0441 Captive Portal \u043d\u0430 Mikrotik: \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Wi-Fi \u0441 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439"},"content":{"rendered":"<h1>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Hotspot \u0441 Captive Portal \u043d\u0430 Mikrotik: \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Wi-Fi \u0441 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439<\/h1>\n<p>Hotspot \u043d\u0430 RouterOS \u2014 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 captive portal: \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a Wi-Fi \u0433\u043e\u0441\u0442\u044f \u00ab\u043b\u043e\u0432\u0438\u0442\u00bb \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430, \u0433\u0434\u0435 \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0432\u0435\u0441\u0442\u0438 \u043b\u043e\u0433\u0438\u043d\/\u043f\u0430\u0440\u043e\u043b\u044c (\u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u00ab\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f\u00bb). \u042d\u0442\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043e\u0444\u0438\u0441\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u043c \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438. \u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u00ab\u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Wi-Fi \u0441 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 \u043b\u0438\u043c\u0438\u0442\u043e\u043c\u00bb.<\/p>\n<hr \/>\n<h2>\u0421\u0445\u0435\u043c\u0430<\/h2>\n<pre><code>[\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442] -- [Mikrotik: ether1-WAN] -- [bridge-local]\n                                          |-- \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 SSID: GuestWiFi\n                                          |-- \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u043d\u0430 captive portal\n<\/code><\/pre>\n<ul>\n<li>Hotspot \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c bridge (\u0438\u043b\u0438 VLAN) \u2014 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0441\u0435\u0442\u0438<\/li>\n<li>\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u2014 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 <code>\/ip hotspot user<\/code> (\u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e) \u0438\u043b\u0438 RADIUS (\u043f\u043b\u0430\u0442\u043d\u043e\/\u0441 SMS)<\/li>\n<\/ul>\n<hr \/>\n<h2>\u0428\u0430\u0433 1. \u0421\u043e\u0437\u0434\u0430\u0451\u043c bridge \u0434\u043b\u044f \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0441\u0435\u0442\u0438 (\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043e\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439)<\/h2>\n<p>\u0427\u0442\u043e\u0431\u044b \u0433\u043e\u0441\u0442\u0438 \u043d\u0435 \u00ab\u0441\u0432\u0435\u0442\u0438\u043b\u0438\u00bb \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0435\u0442\u044c, \u0438\u0437\u043e\u043b\u0438\u0440\u0443\u0435\u043c \u0438\u0445:<\/p>\n<pre><code class=\"language-routeros\">\/interface bridge add name=bridge-guest\n\/interface bridge port add bridge=bridge-guest interface=ether5\n# VLAN \u043d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u043e\u0440\u0442\u0443 - \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u043e\u0434\u043d\u0438\u043c \u043f\u043e\u0440\u0442\u043e\u043c:\n\/interface vlan add name=vlan20 vlan-id=20 interface=ether1\n\/interface bridge port add bridge=bridge-guest interface=vlan20\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 SSID \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u2014 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0438 wifi-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441:<\/p>\n<pre><code class=\"language-routeros\">\/interface wireless set wifi1 mode=ap-bridge ssid=GuestWiFi \n    bridge=bridge-guest \n    security.authentication-mode=wpa2-psk \n    security.wpa2-pre-shared-key=GuestR0ut3r \n    security.encryption=aes-ccm\n# RouterOS 7 (new wifi stack):\n\/interface wifi set 1 ssid=GuestWiFi configuration.mode=ap \n    configuration.security.authentication-types=wpa2-psk \n    configuration.security.passphrase=GuestR0ut3r security.minimum-vlan-tag=off\n<\/code><\/pre>\n<hr \/>\n<h2>\u0428\u0430\u0433 2. IP-\u0430\u0434\u0440\u0435\u0441 \u0438 DHCP \u0434\u043b\u044f \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0441\u0435\u0442\u0438<\/h2>\n<pre><code class=\"language-routeros\">\/ip address add address=192.168.20.1\/24 interface=bridge-guest\n\/ip pool add name=guest-pool ranges=192.168.20.10-192.168.20.150\n\/ip dhcp-server add name=dhcp-guest interface=bridge-guest \n    address-pool=guest-pool lease-time=4h\n\/ip dhcp-server network add address=192.168.20.0\/24 \n    gateway=192.168.20.1 dns-server=8.8.8.8\n<\/code><\/pre>\n<hr \/>\n<h2>\u0428\u0430\u0433 3. \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c Hotspot \u043d\u0430 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0441\u0435\u0442\u0438<\/h2>\n<pre><code class=\"language-routeros\">\/ip hotspot profile set default \n    name=&quot;guest&quot; \n    hotspot-address=192.168.20.1 \n    dns-name=guest.local \n    html-directory=hotspot \n    login-by=try-forever \n    idle-timeout=10m \n    keepalive-timeout=2m\n\n\/ip hotspot add \n    name=guest-hotspot \n    interface=bridge-guest \n    address-pool=guest-pool \n    profile=guest\n<\/code><\/pre>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<br \/>\n&#8212; <code>login-by=try-forever<\/code> \u2014 \u043a\u043d\u043e\u043f\u043a\u0430 [\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f] \u0431\u0435\u0437 \u043b\u043e\u0433\u0438\u043d\u0430\/\u043f\u0430\u0440\u043e\u043b\u044f (\u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f)<br \/>\n&#8212; <code>login-by=cookie<\/code> \u2014 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e<br \/>\n&#8212; <code>login-by=http-chap<\/code>, <code>login-by=username,password<\/code> \u2014 \u043f\u043e \u043b\u043e\u0433\u0438\u043d\u0443<br \/>\n&#8212; <code>html-directory<\/code> \u2014 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430 (\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438\u0434\u0443\u0442 \u0432 \u043a\u043e\u0440\u043e\u0431\u043a\u0435)<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f hotspot RouterOS \u0441\u0430\u043c \u043f\u043e\u0434\u043d\u0438\u043c\u0435\u0442 NDS-\u043e\u0442\u0432\u0435\u0442 \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u0430\u043b\u0430 \u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/p>\n<hr \/>\n<h2>\u0428\u0430\u0433 4. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438 \u043b\u0438\u043c\u0438\u0442\u044b<\/h2>\n<h3>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u00ab\u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a\u00bb \u2014 \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0447\u0435\u0440\u0435\u0437 <code>try-forever<\/code>.<\/h3>\n<h3>\u0423\u0447\u0451\u0442 \u043f\u043e \u043b\u043e\u0433\u0438\u043d\u0443<\/h3>\n<pre><code class=\"language-routeros\">\/ip hotspot user add name=guest01 password=guest01 profile=fast\n\/ip hotspot user profile add name=fast \n    shared-users=1 keepalive-timeout=2m \n    session-timeout=0 \n    idle-timeout=10m \n    rate-limit=&quot;10M\/10M&quot;\n<\/code><\/pre>\n<ul>\n<li><code>rate-limit=\"10M\/10M\"<\/code> \u2014 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 upload\/download \u0434\u043b\u044f \u043f\u0440\u043e\u0444\u0438\u043b\u044f<\/li>\n<li><code>session-timeout<\/code> \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0435\u0441\u0441\u0438\u0438 (0 = \u0431\u0435\u0437 \u043b\u0438\u043c\u0438\u0442\u0430)<\/li>\n<li><code>shared-users<\/code> \u2014 \u0441\u043e \u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c<\/li>\n<\/ul>\n<h3>\u0420\u0443\u0447\u043d\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0441 \u043a\u043d\u043e\u043f\u043a\u0438<\/h3>\n<p>\u0414\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u00ab\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u00bb \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0434\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c:<\/p>\n<pre><code class=\"language-routeros\"># \u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d\u044b \u0438 \u043f\u0430\u0440\u043e\u043b\u0438 \u0431\u043b\u043e\u043a\u0430\u043c\u0438 (\u0432 WebFig: IP &gt; Hotspot &gt; Users &gt; Generate)\n\/ip hotspot user generate user-prefix=guest count=50 \n    password-length=6 fixed-address=0\n<\/code><\/pre>\n<hr \/>\n<h2>\u0428\u0430\u0433 5. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Queue (\u0441\u0432\u044f\u0437\u043a\u0430 \u0441 DSCP-\u0441\u0442\u0430\u0442\u044c\u044f\u043c\u0438)<\/h2>\n<p>\u0413\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0430\u043d\u0430\u043b \u0443 \u043e\u0444\u0438\u0441\u0430:<\/p>\n<pre><code class=\"language-routeros\">\/queue simple add name=&quot;GuestDL&quot; target=192.168.20.0\/24 \n    max-limit=10M\/10M burst-limit=20M\/20M burst-threshold=5M\/5M burst-time=10s\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0433\u043e\u0441\u0442\u044f\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u0430\u0442\u044c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0433\u043e\u043b\u043e\u0441\u0430 \u0438 \u0442.\u043f. \u2014 \u043f\u043e DSCP-\u043c\u0435\u0442\u043a\u0430\u043c, \u043a\u0430\u043a \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u043e Queue Tree: mangle + queue tree \u043d\u0430 packet-mark.<\/p>\n<hr \/>\n<h2>\u0428\u0430\u0433 6. \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0430<\/h2>\n<p>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u0430\u043b\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 <code>\/files<\/code> \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 hotspot (<code>hotspot\/index.html<\/code>, <code>login.html<\/code>, <code>status.html<\/code>). \u041c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0432\u043e\u0439 HTML \u0447\u0435\u0440\u0435\u0437 <code>\/files<\/code> \u0438\u043b\u0438 PowerShell:<\/p>\n<pre><code>scp mylogin.html bot@192.168.19.19:\/hotspot\/login.html\n<\/code><\/pre>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0440\u0442\u0430\u043b\u0430:<\/p>\n<table>\n<thead>\n<tr>\n<th>\u0424\u0430\u0439\u043b<\/th>\n<th>\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>login.html<\/code><\/td>\n<td>\u0424\u043e\u0440\u043c\u0430 \u0432\u0445\u043e\u0434\u0430<\/td>\n<\/tr>\n<tr>\n<td><code>status.html<\/code><\/td>\n<td>\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td><code>redirect.html<\/code><\/td>\n<td>\u041f\u043e\u0441\u043b\u0435 \u043b\u043e\u0433\u0438\u043d\u0430<\/td>\n<\/tr>\n<tr>\n<td><code>alive.html<\/code><\/td>\n<td>\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438<\/td>\n<\/tr>\n<tr>\n<td><code>errors.html<\/code><\/td>\n<td>\u041e\u0448\u0438\u0431\u043a\u0438<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u0412 \u0444\u043e\u0440\u043c\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 <code>$(ip)<\/code>, <code>$(link-status)<\/code> \u2014 RouterOS \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<hr \/>\n<h2>\u0417\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f (\u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430)<\/h2>\n<p>\u0427\u0442\u043e\u0431\u044b \u0433\u043e\u0441\u0442\u0438 \u043d\u0435 \u0445\u043e\u0434\u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0440\u0442\u0430\u043b \u0431\u0435\u0437 \u0432\u0430\u0448\u0435\u0433\u043e \u0432\u0435\u0434\u043e\u043c\u0430:<\/p>\n<pre><code class=\"language-routeros\">\/ip hotspot profile set guest guest-zone-in-interface=bridge-local\n<\/code><\/pre>\n<p>\u0418 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0430\u0434\u043c\u0438\u043d \u043d\u0443\u0436\u043d\u043e):<\/p>\n<pre><code class=\"language-routeros\">\/ip hotspot walled-garden add dst-host=api.telegram.org\n\/ip hotspot walled-garden add dst-host=*.google.com\n<\/code><\/pre>\n<p><code>walled-garden<\/code> \u2014 \u0430\u0434\u0440\u0435\u0441\u0430, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0414\u041e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u041f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0442\u0438\u043f\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u043b\u0438 \u0444\u043e\u0440\u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u043e\u0447\u0442\u044b.<\/p>\n<hr \/>\n<h2>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/h2>\n<ol>\n<li>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u0441\u044c \u043a <code>GuestWiFi<\/code> \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430.<\/li>\n<li>\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0435\u0440\u0435\u043a\u0438\u043d\u0443\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0440\u0442\u0430\u043b\u0430 (\u043a\u044d\u0448\u0438\u0440\u0443\u0439\u0442\u0435 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435, \u0435\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u0442\u0430\u0440\u044b\u0435 \u0441\u0430\u0439\u0442\u044b).<\/li>\n<li>\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f\u00bb (\u0438\u043b\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c) \u2014 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f.<\/li>\n<li>\u041d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0435\u0441\u0441\u0438\u0438:<\/li>\n<\/ol>\n<pre><code class=\"language-routeros\">\/ip hotspot active print\n<\/code><\/pre>\n<ol>\n<li>\u041b\u0438\u043c\u0438\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 speedtest, \u043e\u0447\u0435\u0440\u0435\u0434\u044c <code>GuestDL<\/code> \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0434\u043e 10 \u041c\u0431\u0438\u0442.<\/li>\n<\/ol>\n<hr \/>\n<h2>\u0422\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438<\/h2>\n<ul>\n<li><strong>HTTPS-\u0441\u0430\u0439\u0442\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0440\u0442\u0430\u043b\u043e\u043c<\/strong> \u2014 \u043f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0441 HSTS (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 google.com) \u0441\u0440\u0430\u0437\u0443 \u0443\u0432\u0435\u0434\u0451\u0442 \u0432 \u0442\u0443\u043f\u0438\u043a. \u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430: \u043d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c http:\/\/example.com \u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c autosignup + \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u0435.<\/li>\n<li><strong>\u0411\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 GNU\/Linux CLI<\/strong> \u2014 libreoffice \u0438 \u0442.\u043f. \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442 \u0442\u0435\u0441\u0442 \u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a <code>detectportal.firefox.com<\/code> \u0438 \u0442.\u043f. \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0438\u0445 \u0432 walled-garden, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f.<\/li>\n<li><strong>iPhone\/iOS<\/strong> \u2014 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0430 \u0447\u0435\u0440\u0435\u0437 <code>captive.apple.com<\/code>. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 walled-garden \u2014 iOS \u043c\u043e\u0436\u0435\u0442 \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0435\u0442\u044c \u00ab\u0431\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u00bb.<\/li>\n<li><strong>\u0421\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c <code>try-forever<\/code><\/strong> \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043c\u0430\u043b\u043e\u0433\u043e \u043e\u0444\u0438\u0441\u0430; \u0434\u043b\u044f \u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0441\u0442\u0430\u0432\u044c\u0442\u0435 RADIUS (\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u0440\u043e FreeRADIUS).<\/li>\n<li><strong>Wi-Fi + hotspot \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0435<\/strong> \u2014 \u0435\u0441\u043b\u0438 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Wi-Fi \u0438 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c bridge, hive \u043d\u0435 \u0440\u0430\u0441\u0441\u0435\u043a\u0440\u0435\u0442\u0438\u0442 \u043f\u0430\u0440\u043e\u043b\u044c: WPA2-\u043a\u043b\u044e\u0447 \u043e\u0431\u0449\u0438\u0439. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 bridge \u0441 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c SSID \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/li>\n<li><strong>FastTrack<\/strong> \u2014 \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f fasttrack, hotspot-\u0442\u0440\u0430\u0444\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u00ab\u043f\u0440\u043e\u0441\u043a\u043e\u0447\u0438\u0442\u044c\u00bb \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430. \u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 fasttrack \u0434\u043b\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043d\u0430 bridge-guest \u0447\u0435\u0440\u0435\u0437 raw rule.<\/li>\n<\/ul>\n<hr \/>\n<h2>\u0428\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0430<\/h2>\n<pre><code>\/interface bridge add name=bridge-guest\n\/ip address add address=192.168.20.1\/24 interface=bridge-guest\n\/ip pool add name=guest-pool ranges=192.168.20.10-192.168.20.150\n\/ip dhcp-server add name=dhcp-guest interface=bridge-guest address-pool=guest-pool\n\/ip dhcp-server network add address=192.168.20.0\/24 gateway=192.168.20.1 dns-server=8.8.8.8\n\/ip hotspot profile set default name=&quot;guest&quot; login-by=try-forever heartbeats=no\n\/ip hotspot add name=guest-hotspot interface=bridge-guest profile=guest\n\/ip hotspot user add name=guest01 password=guest01 profile=default\n\/ip hotspot user profile add name=fast rate-limit=&quot;10M\/10M&quot;\n\/queue simple add name=&quot;GuestDL&quot; target=192.168.20.0\/24 max-limit=10M\/10M\n<\/code><\/pre>\n<p><em>\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043d\u0430: RouterOS 7.14+.<\/em><br \/>\n<em>\u0414\u0430\u0442\u0430: \u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2026.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Hotspot \u0441 Captive Portal \u043d\u0430 Mikrotik: \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Wi-Fi \u0441<\/p>\n","protected":false},"author":0,"featured_media":730,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mikrotik"],"aioseo_notices":[],"views":4,"_links":{"self":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=729"}],"version-history":[{"count":2,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/729\/revisions"}],"predecessor-version":[{"id":732,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/729\/revisions\/732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/media\/730"}],"wp:attachment":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}