{"id":6143,"date":"2026-05-20T13:00:00","date_gmt":"2026-05-20T08:00:00","guid":{"rendered":"https:\/\/zilleali.com\/mikrotik-hotspot-bridge-mode\/"},"modified":"2026-11-25T16:07:40","modified_gmt":"2026-11-25T11:07:40","slug":"mikrotik-hotspot-bridge-mode","status":"publish","type":"post","link":"https:\/\/zilleali.com\/de\/mikrotik-hotspot-bridge-mode\/","title":{"rendered":"MikroTik Hotspot im Bridge\u2011Modus: Der komplette Produktionsleitfaden"},"content":{"rendered":"<p>A correctly built MikroTik hotspot bridge mode deployment should be invisible to the network and obvious to the user.<\/p>\n<p>Running a <strong>MikroTik <a href=\"https:\/\/help.mikrotik.com\/docs\/display\/ROS\/Hotspot\">hotspot<\/a> in bridge mode<\/strong> lets you drop a RouterOS box into an existing layer-2 network without renumbering a single subnet. Done right, it is invisible to the network and obvious to the user. Done wrong, half your clients never see the splash page and the other half walk straight past it.<\/p>\n<p>This is the exact configuration I deploy on caf\u00e9s, hostels, and small ISP hotspot zones, plus the mistakes that cost me the most call-outs.<\/p>\n<h2 id=\"when-bridge-mode-is-the-right-choice\">When bridge mode is the right choice<\/h2>\n<p>Use bridge mode when:<\/p>\n<ul>\n<li>The gateway and DHCP already exist and you cannot change them (hotel, campus, shared building).<\/li>\n<li>You need the hotspot to be removable \u2014 pull the box and the network still works.<\/li>\n<li>Multiple APs already share one flat VLAN and re-addressing them is not on the table.<\/li>\n<\/ul>\n<p>Use routed mode instead when you own the whole edge. Routing is simpler to reason about, and every &quot;clients are invisible&quot; ticket disappears.<\/p>\n<p><picture><source srcset=\"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/11\/mikrotik-hotspot-bridge-mode-supporting-1.webp\" type=\"image\/webp\"><img decoding=\"async\" src=\"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/11\/mikrotik-hotspot-bridge-mode-supporting-1.webp\" alt=\"MikroTik hotspot bridge mode: transparent bridge topology with upstream gateway, hotspot on bridge-hotspot with use-ip-firewall, then APs and clients\"><\/picture><\/p>\n<h2 id=\"the-minimum-working-mikrotik-hotspot-bridge-mode-config\">The Minimum Working MikroTik Hotspot Bridge Mode Config<\/h2>\n<pre><code class=\"language-routeros\">\/interface bridge\nadd name=bridge-hotspot protocol-mode=none\n\n\/interface bridge settings\nset use-ip-firewall=yes\n\n\/interface bridge port\nadd bridge=bridge-hotspot interface=ether2\nadd bridge=bridge-hotspot interface=ether3\n\n\/ip pool\nadd name=hs-pool ranges=10.20.0.10-10.20.0.254\n\n\/ip dhcp-server\nadd address-pool=hs-pool interface=bridge-hotspot name=hs-dhcp disabled=no\n\n\/ip hotspot profile\nset [find default=yes] use-radius=yes login-by=http-chap,mac-cookie html-directory=hotspot\n\n\/ip hotspot\nadd address-pool=hs-pool interface=bridge-hotspot name=hotspot1 profile=default\n<\/code><\/pre>\n<p>The single most important line is <code>use-ip-firewall=yes<\/code>. Without it, bridged frames never enter the IP firewall \u2014 and the hotspot&#39;s redirect rules live in the IP firewall. Everything else can be perfect and clients will still ride straight past the login page.<\/p>\n<blockquote>\n<p>Trade-off worth knowing: <code>use-ip-firewall<\/code> pushes bridged traffic through the firewall path, which raises CPU on low-end hardware. On an hEX or hAP ac\u00b2 you will feel it above roughly 150\u2013200 concurrent users. Plan a CCR or RB5009 above that.<\/p>\n<\/blockquote>\n<h2 id=\"where-the-dhcp-server-must-live\">Where the DHCP server must live<\/h2>\n<p>This is the second most common failure. The hotspot only sees a client as &quot;active&quot; if it learns the client&#39;s IP-to-MAC binding. If an upstream router hands out addresses, RouterOS sees MAC addresses with no leases and the session table stays empty.<\/p>\n<p>Two valid options:<\/p>\n<ol>\n<li>Move DHCP onto the RouterOS box (shown above) \u2014 simplest, most reliable.<\/li>\n<li>Keep upstream DHCP and add <code>\/ip dhcp-relay<\/code> on the bridge so leases pass through RouterOS.<\/li>\n<\/ol>\n<h2 id=\"walled-garden-essentials\">Walled garden essentials<\/h2>\n<p>Modern devices probe a known URL to decide whether they are behind a captive portal. Block the probe and the user sees &quot;connected, no internet&quot; even after a successful login.<\/p>\n<table>\n<thead>\n<tr>\n<th>Host<\/th>\n<th>Why it matters<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>connectivitycheck.gstatic.com<\/code><\/td>\n<td>Android and ChromeOS portal detection<\/td>\n<\/tr>\n<tr>\n<td><code>captive.apple.com<\/code><\/td>\n<td>iOS and macOS portal detection<\/td>\n<\/tr>\n<tr>\n<td><code>www.msftconnecttest.com<\/code><\/td>\n<td>Windows 10\/11 portal detection<\/td>\n<\/tr>\n<tr>\n<td>Your payment gateway domain<\/td>\n<td>Paid vouchers must load before auth<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><code class=\"language-routeros\">\/ip hotspot walled-garden\nadd dst-host=connectivitycheck.gstatic.com\nadd dst-host=captive.apple.com\nadd dst-host=*.msftconnecttest.com\n<\/code><\/pre>\n<p>Add DNS to the IP-level walled garden too, otherwise name resolution for those hosts fails before HTTP is ever attempted:<\/p>\n<pre><code class=\"language-routeros\">\/ip hotspot walled-garden ip\nadd action=accept dst-address=8.8.8.8 protocol=udp dst-port=53\n<\/code><\/pre>\n<h2 id=\"bandwidth-limits-without-a-radius-server\">Bandwidth limits without a RADIUS server<\/h2>\n<p>For a single-site deployment that does not justify RADIUS yet, per-user rate limiting lives directly in the hotspot user profile &#8211; no separate queue configuration needed:<\/p>\n<pre><code class=\"language-routeros\">\/ip hotspot user profile\nadd name=guest-tier rate-limit=2M\/8M shared-users=1\n\n\/ip hotspot user\nadd name=guest01 password=&lt;voucher-code&gt; profile=guest-tier\n<\/code><\/pre>\n<p>The rate-limit syntax here is <code>rx\/tx<\/code> from the client&#8217;s perspective, which is the opposite convention from the Mikrotik-Rate-Limit RADIUS attribute discussed in the PPPoE\/FreeRADIUS setup &#8211; worth double-checking if you run both hotspot and PPPoE on the same network, since mixing up the two conventions is an easy mistake. <code>shared-users=1<\/code> stops one voucher code being pasted into three phones in the same caf\u00e9 &#8211; raise it deliberately for a family-plan style voucher, never leave it unset by accident.<\/p>\n<h2 id=\"branding-the-login-page-without-breaking-portal-detection\">Branding the login page without breaking portal detection<\/h2>\n<p>The files under RouterOS&#8217;s <code>hotspot<\/code> HTML directory (referenced in the profile config above) are plain HTML\/CSS, editable via Winbox&#8217;s file manager or SFTP. Two things break more login pages than anything else:<\/p>\n<ul>\n<li><strong>Loading external assets (fonts, images, scripts) from the open internet<\/strong> before authentication. The walled garden blocks exactly this by design, so a login page referencing <code>fonts.googleapis.com<\/code> renders broken until every such host is added to the walled garden &#8211; or, simpler, host logo and font files locally inside the hotspot directory itself.<\/li>\n<li><strong>A login form that does not match the variable names RouterOS expects<\/strong> (<code>username<\/code>, <code>password<\/code>, the hidden <code>dst<\/code> field for post-login redirect). Start from the default <code>login.html<\/code> template and restyle it rather than rebuilding the form from scratch &#8211; the variable names are what actually authenticates the session, not the visual design around them.<\/li>\n<\/ul>\n<h2 id=\"closing-the-common-bypasses\">Closing the common bypasses<\/h2>\n<p><strong>MAC cloning.<\/strong> A user copies the MAC of an authorised device and inherits the session. Bind sessions to MAC <em>and<\/em> IP, and keep <code>mac-cookie<\/code> lifetimes short (a working day, not a month):<\/p>\n<pre><code class=\"language-routeros\">\/ip hotspot profile\nset [find default=yes] mac-cookie-timeout=1d\n<\/code><\/pre>\n<p><strong>Static IP self-assignment.<\/strong> A user sets a manual address in your subnet and skips DHCP. Drop unauthenticated forwarding at the firewall:<\/p>\n<pre><code class=\"language-routeros\">\/ip firewall filter\nadd chain=forward src-address=10.20.0.0\/24 hotspot=!auth action=drop \\\n    comment=&quot;Block non-authenticated hotspot subnet&quot;\n<\/code><\/pre>\n<p><strong>DNS tunnelling.<\/strong> Restrict outbound port 53 to the router itself and force clients through it:<\/p>\n<pre><code class=\"language-routeros\">\/ip firewall nat\nadd chain=dstnat protocol=udp dst-port=53 action=redirect to-ports=53 \\\n    in-interface=bridge-hotspot\n<\/code><\/pre>\n<h2 id=\"verifying-the-deployment\">Verifying the deployment<\/h2>\n<p>Work down this list before you leave site:<\/p>\n<ol>\n<li><code>\/ip hotspot active print<\/code> \u2014 a freshly logged-in client shows MAC <strong>and<\/strong> IP. IP missing means DHCP placement is wrong.<\/li>\n<li><code>\/ip hotspot host print<\/code> \u2014 unauthenticated devices should appear here. Empty table means <code>use-ip-firewall<\/code> is off.<\/li>\n<li>Connect an iPhone and an Android handset. Both should auto-open the portal. Only one working means a walled-garden entry is missing.<\/li>\n<li>Set a manual IP on a laptop. It must have no internet.<\/li>\n<li><code>\/tool profile<\/code> under load \u2014 if the firewall process is pegged, the hardware is undersized for bridge mode.<\/li>\n<\/ol>\n<h2 id=\"radius-when-to-add-it\">RADIUS: when to add it<\/h2>\n<p>For a single site, local hotspot users are fine. Move to RADIUS the moment you have more than one site, need per-plan bandwidth profiles, or want usage accounting for billing. FreeRADIUS with a MySQL or PostgreSQL backend handles thousands of concurrent sessions on modest hardware, and rate limits arrive as a <code>Mikrotik-Rate-Limit<\/code> attribute rather than being hard-coded per router.<\/p>\n<p>That is exactly the layer <a href=\"\/nexalink\">NexaLink<\/a> automates \u2014 plans, vouchers, and per-user rate limits pushed to every RouterOS box from one panel.<\/p>\n<h2 id=\"troubleshooting-portal-loads-but-login-fails\">Troubleshooting: portal loads but login fails<\/h2>\n<p>This specific symptom &#8211; the splash page itself renders, but submitting credentials does nothing or errors &#8211; has a short, ordered list of real causes:<\/p>\n<ol>\n<li><strong>Clock skew between RouterOS and the browser&#8217;s device.<\/strong> Hotspot authentication is time-sensitive (the MD5-CHAP challenge has a short validity window); a RouterOS clock that drifted because NTP is misconfigured causes logins to silently fail. Check <code>\/system clock print<\/code> and confirm NTP client is enabled.<\/li>\n<li><strong>A stale session for the same MAC still active.<\/strong> Check <code>\/ip hotspot active print<\/code> for a zombie session from a previous disconnect that never cleaned up &#8211; remove it manually and retry.<\/li>\n<li><strong>HTTPS redirect loop on modern phones.<\/strong> iOS and Android both now prefer HTTPS by default, and a captive portal cannot terminate HTTPS for domains it does not hold certificates for. Confirm <code>\/ip hotspot profile<\/code> has <code>login-by=http-chap,mac-cookie<\/code> (not HTTPS-only) and that the walled garden entries use plain HTTP where the OS portal-detection probe expects it.<\/li>\n<\/ol>\n<h2 id=\"field-checklist\">Field checklist<\/h2>\n<ul>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> <code>use-ip-firewall=yes<\/code> on bridge settings<\/li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> DHCP on the RouterOS box or relayed through it<\/li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> Walled garden covers Android, iOS, Windows, DNS, payment gateway<\/li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> Forward drop rule for <code>hotspot=!auth<\/code><\/li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> Portal tested on two phone platforms and a laptop<\/li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> Configuration exported and stored off-box<\/li>\n<\/ul>\n<p>Get those six right and the hotspot stops generating tickets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ein erprobter RouterOS\u2011Hotspot hinter einer transparenten Bridge \u2014 behalten Sie die Sichtbarkeit der Clients, beheben Sie die Erkennung von Captive\u2011Portal und verhindern Sie, dass Nutzer die Anmeldeseite umgehen.<\/p>","protected":false},"author":1,"featured_media":6415,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAow6N_ODA:productID":"","_chatbot_visible":"","_zea_seo_title":"MikroTik Hotspot Bridge Mode: Complete Production Guide","_zea_seo_description":"A field-tested MikroTik hotspot bridge mode setup: keep client visibility, fix captive-portal detection, and stop login-page bypass.","_zea_seo_focus_keyphrase":"MikroTik hotspot bridge mode","_zea_seo_canonical":"","_zea_seo_robots_noindex":false,"_zea_seo_robots_nofollow":false,"_zea_seo_sitemap_exclude":false,"_zea_seo_cornerstone":false,"_zea_seo_sitemap_priority":"","_zea_seo_og_title":"MikroTik Hotspot in Bridge Mode: Production Guide","_zea_seo_og_description":"How to configure a MikroTik captive portal in bridge mode with VLAN filtering, zero broadcast storms, and RADIUS login.","_zea_seo_og_image":"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/11\/card_post_isp_ops.jpg","_zea_seo_twitter_title":"MikroTik Hotspot in Bridge Mode: Production Guide","_zea_seo_twitter_description":"How to configure a MikroTik captive portal in bridge mode with VLAN filtering, zero broadcast storms, and RADIUS login.","_zea_seo_analysis_score":0,"_zea_ai_pending":false,"_zea_ai_notes":"","_zea_ai_keyword":"","footnotes":""},"categories":[12],"tags":[206,198,197,202],"class_list":["post-6143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking","tag-hotspot","tag-isp","tag-mikrotik","tag-routeros"],"_links":{"self":[{"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/posts\/6143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/comments?post=6143"}],"version-history":[{"count":7,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/posts\/6143\/revisions"}],"predecessor-version":[{"id":6384,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/posts\/6143\/revisions\/6384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/media\/6415"}],"wp:attachment":[{"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/media?parent=6143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/categories?post=6143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zilleali.com\/de\/wp-json\/wp\/v2\/tags?post=6143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}